]> git.eshelyaron.com Git - emacs.git/commitdiff
* unexaix.c, unexcoff.c: Include "mem-limits.h".
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 19 Aug 2012 20:02:24 +0000 (13:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 19 Aug 2012 20:02:24 +0000 (13:02 -0700)
(start_of_data): Remove decl; mem-limits.h provides it.

src/ChangeLog
src/unexaix.c
src/unexcoff.c

index 7f15a1a79219982b8d5b8d60aec4933b4082a711..e922ede7a0cf984d4909de481e037c0df4ec767b 100644 (file)
@@ -1,5 +1,8 @@
 2012-08-19  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * unexaix.c, unexcoff.c: Include "mem-limits.h".
+       (start_of_data): Remove decl; mem-limits.h provides it.
+
        * xdisp.c (handle_invisible_prop): Make it a bit faster
        and avoid a gcc -Wmaybe-uninitialized diagnostic.
 
index 29fa0fd6287e3e3b31a777205204009659971a1d..c09156296f73850942908eb0e5a04bf9c1a22567 100644 (file)
@@ -56,8 +56,9 @@ what you give them.   Help stamp out software-hoarding!  */
 #include <unistd.h>
 #include <fcntl.h>
 
+#include "mem-limits.h"
+
 char *start_of_text (void);                    /* Start of text */
-extern char *start_of_data (void);             /* Start of initialized data */
 
 extern int _data;
 extern int _text;
index 5b2697378392265e1873521b9cd77fe04d4dfd8b..e83042a379dc15cc0a155c7783fd10127edc718c 100644 (file)
@@ -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 */