/* unexec() support for Cygwin;
complete rewrite of xemacs Cygwin unexec() code
- Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+ Copyright (C) 2004-2011 Free Software Foundation, Inc.
This file is part of GNU Emacs.
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
+#include "unexec.h"
+
#include <setjmp.h>
#include <lisp.h>
#include <stdio.h>
return (modified);
}
-int
+void
unexec (const char *outfile, const char *infile)
{
char infile_buffer[FILENAME_MAX];
{
/* can only dump once */
printf ("You can only dump Emacs once on this platform.\n");
- return (1);
+ return;
}
report_sheap_usage (1);
ret = close (fd_out);
assert (ret == 0);
-
- return (0);
}
-