Fix problems found while writing a test suite.
[emacs.git] / src / firstfile.c
blob80c936719d6fd8b8c773d6b8af186af797c0155c
1 /* Mark beginning of data space to dump as pure, for GNU Emacs.
2 Copyright (C) 1997, 2001-2013 Free Software Foundation, Inc.
4 This file is part of GNU Emacs.
6 GNU Emacs is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
11 GNU Emacs is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
20 #include <config.h>
22 #ifdef WINDOWSNT
23 /* See comments in lastfile.c. */
24 char my_begdata[] = "Beginning of Emacs initialized data";
25 char my_begbss[1]; /* Do not initialize this variable. */
26 static char _my_begbss[1];
27 char * my_begbss_static = _my_begbss;
29 /* Add a dummy reference to ensure emacs.obj is linked in. */
30 extern int main (int, char **);
31 static int (*dummy) (int, char **) = main;
32 #endif