]> code.delx.au - gnu-emacs/blobdiff - src/unexcoff.c
* todos.el (todos-read-category, todos-merge-category):
[gnu-emacs] / src / unexcoff.c
index 03b0015e6b9ea232ddbf29172398d2f4001dab2a..e83042a379dc15cc0a155c7783fd10127edc718c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1985-1988, 1992-1994, 2001-2011  Free Software Foundation, Inc.
+/* Copyright (C) 1985-1988, 1992-1994, 2001-2012  Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -98,7 +98,7 @@ struct aouthdr
 
 #include <sys/file.h>
 
-extern char *start_of_data (void);             /* Start of initialized data */
+#include "mem-limits.h"
 
 static long block_copy_start;          /* Old executable start point */
 static struct filehdr f_hdr;           /* File header */
@@ -545,6 +545,7 @@ unexec (const char *new_name, const char *a_name)
       )
     {
       close (new);
+      return;
     }
 
   close (new);