]> code.delx.au - gnu-emacs/blobdiff - src/unexhp9k800.c
nnimap.el (nnimap-update-info): Refactor slightly.
[gnu-emacs] / src / unexhp9k800.c
index cad2a5025abecc73d4007e6a6b8f8b7960822d4e..c0471992a72e370c640b5351f432f62f69965346 100644 (file)
   sigsetreturn (_sigreturn);
 */
 \f
-#ifdef emacs
 #include <config.h>
-#endif
-
 #include <stdio.h>
 #include <fcntl.h>
 #include <errno.h>
-
 #include <a.out.h>
-
 #include <dl.h>
 
 /* brk value to restore, stored as a global.
@@ -79,12 +74,9 @@ run_time_remap (ignored)
 
 
 /* Create a new a.out file, same as old but with current data space */
-
-unexec (new_name, old_name, new_end_of_text, dummy1, dummy2)
-     char new_name[];          /* name of the new a.out file to be created */
-     char old_name[];          /* name of the old a.out file */
-     char *new_end_of_text;    /* ptr to new edata/etext; NOT USED YET */
-     int dummy1, dummy2;       /* not used by emacs */
+int
+unexec (const char *new_name,      /* name of the new a.out file to be created */
+       const char *old_name)       /* name of the old a.out file */
 {
   int old, new;
   int old_size, new_size;
@@ -328,5 +320,3 @@ display_header (hdr, auxhdr)
 }
 #endif /* DEBUG */
 
-/* arch-tag: d55a09ac-9427-4ec4-8496-cb9d7710774f
-   (do not change this comment) */