annotate src/firstfile.c @ 112438:11f1b4757236

* image.c (x_create_bitmap_from_xpm_data): Add cast to fix type clash when calling XpmCreatePixmapFromData.
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 22 Jan 2011 20:33:12 -0800
parents ef719132ddfa
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19794
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 /* Mark beginning of data space to dump as pure, for GNU Emacs.
75227
e90d04cd455a Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents: 68651
diff changeset
2 Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005,
112218
376148b31b5e Add 2011 to FSF/AIST copyright years.
Glenn Morris <rgm@gnu.org>
parents: 106815
diff changeset
3 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
19794
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 This file is part of GNU Emacs.
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6
94963
8971ddf55736 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79759
diff changeset
7 GNU Emacs is free software: you can redistribute it and/or modify
19794
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 it under the terms of the GNU General Public License as published by
94963
8971ddf55736 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79759
diff changeset
9 the Free Software Foundation, either version 3 of the License, or
8971ddf55736 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79759
diff changeset
10 (at your option) any later version.
19794
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 GNU Emacs is distributed in the hope that it will be useful,
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15 GNU General Public License for more details.
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
94963
8971ddf55736 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79759
diff changeset
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19794
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 #include <config.h>
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 #ifdef WINDOWSNT
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 /* See comments in lastfile.c. */
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25 char my_begdata[] = "Beginning of Emacs initialized data";
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 char my_begbss[1]; /* Do not initialize this variable. */
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27 static char _my_begbss[1];
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 char * my_begbss_static = _my_begbss;
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 /* Add a dummy reference to ensure emacs.obj is linked in. */
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31 extern int initialized;
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 static int * dummy = &initialized;
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 #endif
3f3165285c1b Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34