diff options
| author | Paul Eggert | 2016-01-30 14:20:57 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-01-30 15:26:08 -0800 |
| commit | 3d82a8ee4bd392ae536c8c3640140d1d0f594f44 (patch) | |
| tree | bce897370545df1d8b65c6474f7cafe5b68cd3f5 /src/lisp.h | |
| parent | 7fdc3cf046ee112b883752ea15ca8cb05444d12f (diff) | |
| download | emacs-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.h | 2 |
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); | |||
| 619 | extern _Noreturn void wrong_choice (Lisp_Object, Lisp_Object); | 619 | extern _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 | ||
| 622 | extern bool might_dump; | 623 | extern 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. */ |
| 625 | extern bool initialized; | 627 | extern bool initialized; |