diff options
| author | Paul Eggert | 2016-01-30 14:20:57 -0800 |
|---|---|---|
| committer | Paul Eggert | 2016-01-30 15:26:07 -0800 |
| commit | e4cd4a76a621927bc155a18353ef7fd09133887d (patch) | |
| tree | bdc6224d8cf108d37b82763dcfd629dea1c886e8 /src/lisp.h | |
| parent | e1a9f2099c2e683dffc4b898ce85ce935c4cb254 (diff) | |
| download | emacs-e4cd4a76a621927bc155a18353ef7fd09133887d.tar.gz emacs-e4cd4a76a621927bc155a18353ef7fd09133887d.zip | |
* src/alloc.c: Include "sheap.h".
(alloc_unexec_pre, alloc_unexec_post) [HYBRID_MALLOC]:
Set and clear bss_sbrk_did_unexec, on all platforms not just Cygwin.
* src/lisp.h (alloc_unexec_pre, alloc_unexec_post) [!DOUG_LEA_MALLOC]:
Declare unconditionally.
* src/unexcw.c, src/unexelf.c (bss_sbrk_did_unexec): Remove decl.
(unexec): Don’t set or clear bss_sbrk_did_unexec;
the caller now does this.
(Bug#22086)
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lisp.h b/src/lisp.h index 53f123df973..3c8e3ddb137 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -3602,13 +3602,8 @@ extern void mark_object (Lisp_Object); | |||
| 3602 | #if defined REL_ALLOC && !defined SYSTEM_MALLOC && !defined HYBRID_MALLOC | 3602 | #if defined REL_ALLOC && !defined SYSTEM_MALLOC && !defined HYBRID_MALLOC |
| 3603 | extern void refill_memory_reserve (void); | 3603 | extern void refill_memory_reserve (void); |
| 3604 | #endif | 3604 | #endif |
| 3605 | #ifdef DOUG_LEA_MALLOC | ||
| 3606 | extern void alloc_unexec_pre (void); | 3605 | extern void alloc_unexec_pre (void); |
| 3607 | extern void alloc_unexec_post (void); | 3606 | extern void alloc_unexec_post (void); |
| 3608 | #else | ||
| 3609 | INLINE void alloc_unexec_pre (void) {} | ||
| 3610 | INLINE void alloc_unexec_post (void) {} | ||
| 3611 | #endif | ||
| 3612 | extern const char *pending_malloc_warning; | 3607 | extern const char *pending_malloc_warning; |
| 3613 | extern Lisp_Object zero_vector; | 3608 | extern Lisp_Object zero_vector; |
| 3614 | extern Lisp_Object *stack_base; | 3609 | extern Lisp_Object *stack_base; |