diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-08-19 13:02:24 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-08-19 13:02:24 -0700 |
commit | 22d7feb28c95cec0c940fc7b933491550730512b (patch) | |
tree | ff38893d862e205e530bcd7446649fb7f2db759e /src | |
parent | 32bd425074e32184d3d4d9f985fd1a60814d78b2 (diff) | |
download | emacs-22d7feb28c95cec0c940fc7b933491550730512b.tar.gz |
* unexaix.c, unexcoff.c: Include "mem-limits.h".
(start_of_data): Remove decl; mem-limits.h provides it.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 3 | ||||
-rw-r--r-- | src/unexaix.c | 3 | ||||
-rw-r--r-- | src/unexcoff.c | 2 |
3 files changed, 6 insertions, 2 deletions
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 <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. 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 <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; 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 <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 */ |