diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-01-30 14:20:57 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-01-30 15:26:08 -0800 |
commit | 3d82a8ee4bd392ae536c8c3640140d1d0f594f44 (patch) | |
tree | bce897370545df1d8b65c6474f7cafe5b68cd3f5 /src/lastfile.c | |
parent | 7fdc3cf046ee112b883752ea15ca8cb05444d12f (diff) | |
download | emacs-3d82a8ee4bd392ae536c8c3640140d1d0f594f44.tar.gz |
Fix extern symbols defined and not used
* src/alloc.c: Always include <signal.h>.
(malloc_warning) [!SIGDANGER && (SYSTEM_MALLOC || HYBRID_MALLOC)]:
Do not define; unused.
* src/emacs.c, src/lisp.h (might_dump) [!DOUG_LEA_MALLOC]: Now static.
* src/gmalloc.c (gdefault_morecore): Rename from __default_morecore,
to avoid collision with glibc. Now static. All uses changed.
* src/lastfile.c (my_edata): Define only if
((!defined SYSTEM_MALLOC && !defined HYBRID_MALLOC && !defined
WINDOWSNT) \ || defined CYGWIN || defined DARWIN_OS).
(Bug#22086)
Diffstat (limited to 'src/lastfile.c')
-rw-r--r-- | src/lastfile.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lastfile.c b/src/lastfile.c index 2d0bcc76b8f..9c73fb44700 100644 --- a/src/lastfile.c +++ b/src/lastfile.c @@ -38,7 +38,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #include "lisp.h" +#if ((!defined SYSTEM_MALLOC && !defined HYBRID_MALLOC && !defined WINDOWSNT) \ + || defined CYGWIN || defined DARWIN_OS) char my_edata[] = "End of Emacs initialized data"; +#endif /* Help unexec locate the end of the .bss area used by Emacs (which isn't always a separate section in NT executables). */ |