aboutsummaryrefslogtreecommitdiffstats
path: root/src/unexw32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unexw32.c')
-rw-r--r--src/unexw32.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/unexw32.c b/src/unexw32.c
index 829c864c960..cd8211d6bee 100644
--- a/src/unexw32.c
+++ b/src/unexw32.c
@@ -21,6 +21,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
21*/ 21*/
22 22
23#include <config.h> 23#include <config.h>
24#include "unexec.h"
24 25
25#include <stdio.h> 26#include <stdio.h>
26#include <fcntl.h> 27#include <fcntl.h>
@@ -723,7 +724,7 @@ copy_executable_and_dump_data (file_data *p_infile,
723 724
724 725
725/* Dump out .data and .bss sections into a new executable. */ 726/* Dump out .data and .bss sections into a new executable. */
726int 727void
727unexec (const char *new_name, const char *old_name) 728unexec (const char *new_name, const char *old_name)
728{ 729{
729 file_data in_file, out_file; 730 file_data in_file, out_file;
@@ -819,9 +820,6 @@ unexec (const char *new_name, const char *old_name)
819 820
820 close_file_data (&in_file); 821 close_file_data (&in_file);
821 close_file_data (&out_file); 822 close_file_data (&out_file);
822
823 return 0;
824} 823}
825 824
826/* eof */ 825/* eof */
827