summaryrefslogtreecommitdiff
path: root/src/unexw32.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/unexw32.c
parenta3a6c54ec72118e8d22d2ecd608df5193c8926a3 (diff)
Change unexec implementations to match prototype.
Diffstat (limited to 'src/unexw32.c')
-rw-r--r--src/unexw32.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/unexw32.c b/src/unexw32.c
index c921cd657d..cd8211d6be 100644
--- a/src/unexw32.c
+++ b/src/unexw32.c
@@ -724,7 +724,7 @@ copy_executable_and_dump_data (file_data *p_infile,
/* Dump out .data and .bss sections into a new executable. */
-int
+void
unexec (const char *new_name, const char *old_name)
{
file_data in_file, out_file;
@@ -820,9 +820,6 @@ unexec (const char *new_name, const char *old_name)
close_file_data (&in_file);
close_file_data (&out_file);
-
- return 0;
}
/* eof */
-