diff options
| author | Paul Eggert | 2012-08-19 13:02:24 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-08-19 13:02:24 -0700 |
| commit | 22d7feb28c95cec0c940fc7b933491550730512b (patch) | |
| tree | ff38893d862e205e530bcd7446649fb7f2db759e /src | |
| parent | 32bd425074e32184d3d4d9f985fd1a60814d78b2 (diff) | |
| download | emacs-22d7feb28c95cec0c940fc7b933491550730512b.tar.gz emacs-22d7feb28c95cec0c940fc7b933491550730512b.zip | |
* 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 @@ | |||
| 1 | 2012-08-19 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2012-08-19 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * unexaix.c, unexcoff.c: Include "mem-limits.h". | ||
| 4 | (start_of_data): Remove decl; mem-limits.h provides it. | ||
| 5 | |||
| 3 | * xdisp.c (handle_invisible_prop): Make it a bit faster | 6 | * xdisp.c (handle_invisible_prop): Make it a bit faster |
| 4 | and avoid a gcc -Wmaybe-uninitialized diagnostic. | 7 | and avoid a gcc -Wmaybe-uninitialized diagnostic. |
| 5 | 8 | ||
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! */ | |||
| 56 | #include <unistd.h> | 56 | #include <unistd.h> |
| 57 | #include <fcntl.h> | 57 | #include <fcntl.h> |
| 58 | 58 | ||
| 59 | #include "mem-limits.h" | ||
| 60 | |||
| 59 | char *start_of_text (void); /* Start of text */ | 61 | char *start_of_text (void); /* Start of text */ |
| 60 | extern char *start_of_data (void); /* Start of initialized data */ | ||
| 61 | 62 | ||
| 62 | extern int _data; | 63 | extern int _data; |
| 63 | extern int _text; | 64 | 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 | |||
| 98 | 98 | ||
| 99 | #include <sys/file.h> | 99 | #include <sys/file.h> |
| 100 | 100 | ||
| 101 | extern char *start_of_data (void); /* Start of initialized data */ | 101 | #include "mem-limits.h" |
| 102 | 102 | ||
| 103 | static long block_copy_start; /* Old executable start point */ | 103 | static long block_copy_start; /* Old executable start point */ |
| 104 | static struct filehdr f_hdr; /* File header */ | 104 | static struct filehdr f_hdr; /* File header */ |