From: Paul Eggert Date: Sun, 19 Aug 2012 20:02:24 +0000 (-0700) Subject: * unexaix.c, unexcoff.c: Include "mem-limits.h". X-Git-Tag: emacs-24.2.90~605 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=22d7feb28c95cec0c940fc7b933491550730512b;p=emacs.git * unexaix.c, unexcoff.c: Include "mem-limits.h". (start_of_data): Remove decl; mem-limits.h provides it. --- diff --git a/src/ChangeLog b/src/ChangeLog index 7f15a1a7921..e922ede7a0c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2012-08-19 Paul Eggert + * 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. diff --git a/src/unexaix.c b/src/unexaix.c index 29fa0fd6287..c09156296f7 100644 --- a/src/unexaix.c +++ b/src/unexaix.c @@ -56,8 +56,9 @@ what you give them. Help stamp out software-hoarding! */ #include #include +#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; diff --git a/src/unexcoff.c b/src/unexcoff.c index 5b269737839..e83042a379d 100644 --- a/src/unexcoff.c +++ b/src/unexcoff.c @@ -98,7 +98,7 @@ struct aouthdr #include -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 */