summaryrefslogtreecommitdiff
path: root/src/unexcw.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/unexcw.c
parenta3a6c54ec72118e8d22d2ecd608df5193c8926a3 (diff)
downloademacs-381259ef0debba4c0bb07bb5473467c1d4d84223.tar.gz
Change unexec implementations to match prototype.
Diffstat (limited to 'src/unexcw.c')
-rw-r--r--src/unexcw.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/unexcw.c b/src/unexcw.c
index b5d72e61550..1202e046024 100644
--- a/src/unexcw.c
+++ b/src/unexcw.c
@@ -249,7 +249,7 @@ add_exe_suffix_if_necessary (const char *name, char *modified)
return (modified);
}
-int
+void
unexec (const char *outfile, const char *infile)
{
char infile_buffer[FILENAME_MAX];
@@ -263,7 +263,6 @@ unexec (const char *outfile, const char *infile)
{
/* can only dump once */
printf ("You can only dump Emacs once on this platform.\n");
- return (1);
}
report_sheap_usage (1);
@@ -298,6 +297,4 @@ unexec (const char *outfile, const char *infile)
ret = close (fd_out);
assert (ret == 0);
-
- return (0);
}