diff options
| author | Stefan Kangas | 2024-12-28 21:35:07 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2024-12-28 21:35:07 +0100 |
| commit | c70d595708cd0dc19e85e58148a75df21d80f9b2 (patch) | |
| tree | 9ea02c4ecc00d789e66c294730986552ea7ac0f7 /src/firstfile.c | |
| parent | 305bd550cf28045505e76c2b23f51860da914310 (diff) | |
| download | emacs-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.c | 32 |
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 | |||
| 4 | This file is part of GNU Emacs. | ||
| 5 | |||
| 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 (at | ||
| 9 | your option) any later version. | ||
| 10 | |||
| 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. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU General Public License | ||
| 17 | along 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. */ | ||
| 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; | ||
| 28 | |||
| 29 | /* Add a dummy reference to ensure emacs.o is linked in. */ | ||
| 30 | extern int main (int, char **); | ||
| 31 | int (*dummy_main_reference) (int, char **) = main; | ||
| 32 | #endif | ||