aboutsummaryrefslogtreecommitdiffstats
path: root/src/firstfile.c
diff options
context:
space:
mode:
authorStefan Kangas2024-12-28 21:35:07 +0100
committerStefan Kangas2024-12-28 21:35:07 +0100
commitc70d595708cd0dc19e85e58148a75df21d80f9b2 (patch)
tree9ea02c4ecc00d789e66c294730986552ea7ac0f7 /src/firstfile.c
parent305bd550cf28045505e76c2b23f51860da914310 (diff)
downloademacs-c70d595708cd0dc19e85e58148a75df21d80f9b2.tar.gz
emacs-c70d595708cd0dc19e85e58148a75df21d80f9b2.zip
Delete firstfile.c and lastfile.c
With the removal of unexec and purespace, the definitions in these files are no longer used. Remove them. * src/firstfile.c: * src/lastfile.c: Delete unused files. * configure.ac (PRE_ALLOC_OBJ, POST_ALLOC_OBJ, FIRSTFILE_OBJ): Remove variables and dependent code. * msdos/autogen/Makefile.in: * msdos/sed1v2.inp: * src/Makefile.in: Don't use above deleted variables. * src/deps.mk: Remove lastfile.c dependencies.
Diffstat (limited to 'src/firstfile.c')
-rw-r--r--src/firstfile.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/firstfile.c b/src/firstfile.c
deleted file mode 100644
index 737757a2779..00000000000
--- a/src/firstfile.c
+++ /dev/null
@@ -1,32 +0,0 @@
1/* Mark beginning of data space to dump as pure, for GNU Emacs.
2 Copyright (C) 1997, 2001-2024 Free Software Foundation, Inc.
3
4This file is part of GNU Emacs.
5
6GNU Emacs is free software: you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation, either version 3 of the License, or (at
9your option) any later version.
10
11GNU Emacs is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
18
19
20#include <config.h>
21
22#ifdef WINDOWSNT
23/* See comments in lastfile.c. */
24char my_begdata[] = "Beginning of Emacs initialized data";
25char my_begbss[1]; /* Do not initialize this variable. */
26static char _my_begbss[1];
27char * my_begbss_static = _my_begbss;
28
29/* Add a dummy reference to ensure emacs.o is linked in. */
30extern int main (int, char **);
31int (*dummy_main_reference) (int, char **) = main;
32#endif