From 22d7feb28c95cec0c940fc7b933491550730512b Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 19 Aug 2012 13:02:24 -0700 Subject: [PATCH] * unexaix.c, unexcoff.c: Include "mem-limits.h". (start_of_data): Remove decl; mem-limits.h provides it. --- src/ChangeLog | 3 +++ src/unexaix.c | 3 ++- src/unexcoff.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 7f15a1a792..e922ede7a0 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 29fa0fd628..c09156296f 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 5b26973783..e83042a379 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 */ -- 2.20.1