summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-03-16 16:59:54 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-03-16 16:59:54 -0700
commitce701a3393e8f02410dc0d076d5ddf57ef324260 (patch)
tree47e0891e5842f1bc511b7a3e54e1fbc8ea73ef40 /src/emacs.c
parent4f63c6bb76e662fe8025969e0e16ab8906e0ba22 (diff)
downloademacs-ce701a3393e8f02410dc0d076d5ddf57ef324260.tar.gz
New file unexec.h, the (simple) interface for unexec.
* deps.mk (emacs.o, unexaix.o, unexcw.o, unexcoff.o, unexelf.o): (unexhp9k800.o, unexmacosx.o, unexsol.o, unexw32.o): Depend on unexec.h. * emacs.c [!defined CANNOT_DUMP]: Include unexec.h. * unexaix.c, unexcoff.c, unexcw.c, unexelf.c, unexhp9k800.c: * unexmacosx.c, unexsol.c, unexw32.c: Include unexec.h.
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/emacs.c b/src/emacs.c
index c49e38f7a67..d30d42f1ee4 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -2085,9 +2085,7 @@ shut_down_emacs (int sig, int no_x, Lisp_Object stuff)
#ifndef CANNOT_DUMP
-/* FIXME: maybe this should go into header file, config.h seems the
- only one appropriate. */
-extern int unexec (const char *, const char *);
+#include "unexec.h"
DEFUN ("dump-emacs", Fdump_emacs, Sdump_emacs, 2, 2, 0,
doc: /* Dump current state of Emacs into executable file FILENAME.