summaryrefslogtreecommitdiff
path: root/src/unexhp9k800.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-03-17 11:41:30 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-03-17 11:41:30 -0700
commit381259ef0debba4c0bb07bb5473467c1d4d84223 (patch)
treea6bc6304596874e7cb6cb3074b0b922c4cadba85 /src/unexhp9k800.c
parenta3a6c54ec72118e8d22d2ecd608df5193c8926a3 (diff)
downloademacs-381259ef0debba4c0bb07bb5473467c1d4d84223.tar.gz
Change unexec implementations to match prototype.
Diffstat (limited to 'src/unexhp9k800.c')
-rw-r--r--src/unexhp9k800.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/unexhp9k800.c b/src/unexhp9k800.c
index 9889ffd63fc..f27415a252c 100644
--- a/src/unexhp9k800.c
+++ b/src/unexhp9k800.c
@@ -76,7 +76,7 @@ run_time_remap (ignored)
/* Create a new a.out file, same as old but with current data space */
-int
+void
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 */
{
@@ -133,7 +133,6 @@ unexec (const char *new_name, /* name of the new a.out file to be created *
/* Close the binary file */
close (old);
close (new);
- return 0;
}
/* Save current data space in the file, update header. */