summaryrefslogtreecommitdiff
path: root/src/lastfile.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-01-30 14:20:57 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2016-01-30 15:26:08 -0800
commit3d82a8ee4bd392ae536c8c3640140d1d0f594f44 (patch)
treebce897370545df1d8b65c6474f7cafe5b68cd3f5 /src/lastfile.c
parent7fdc3cf046ee112b883752ea15ca8cb05444d12f (diff)
downloademacs-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.c3
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). */