aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
authorPaul Eggert2016-01-30 14:20:57 -0800
committerPaul Eggert2016-01-30 15:26:08 -0800
commit3d82a8ee4bd392ae536c8c3640140d1d0f594f44 (patch)
treebce897370545df1d8b65c6474f7cafe5b68cd3f5 /src/lisp.h
parent7fdc3cf046ee112b883752ea15ca8cb05444d12f (diff)
downloademacs-3d82a8ee4bd392ae536c8c3640140d1d0f594f44.tar.gz
emacs-3d82a8ee4bd392ae536c8c3640140d1d0f594f44.zip
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/lisp.h')
-rw-r--r--src/lisp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h
index cafcfdef438..ef86c4fc958 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -619,7 +619,9 @@ extern _Noreturn Lisp_Object wrong_type_argument (Lisp_Object, Lisp_Object);
619extern _Noreturn void wrong_choice (Lisp_Object, Lisp_Object); 619extern _Noreturn void wrong_choice (Lisp_Object, Lisp_Object);
620 620
621/* Defined in emacs.c. */ 621/* Defined in emacs.c. */
622#ifdef DOUG_LEA_MALLOC
622extern bool might_dump; 623extern bool might_dump;
624#endif
623/* True means Emacs has already been initialized. 625/* True means Emacs has already been initialized.
624 Used during startup to detect startup of dumped Emacs. */ 626 Used during startup to detect startup of dumped Emacs. */
625extern bool initialized; 627extern bool initialized;