diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-17 11:41:30 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-17 11:41:30 -0700 |
commit | 381259ef0debba4c0bb07bb5473467c1d4d84223 (patch) | |
tree | a6bc6304596874e7cb6cb3074b0b922c4cadba85 /src/unexw32.c | |
parent | a3a6c54ec72118e8d22d2ecd608df5193c8926a3 (diff) |
Change unexec implementations to match prototype.
Diffstat (limited to 'src/unexw32.c')
-rw-r--r-- | src/unexw32.c | 5 |
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 */ - |