aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorGerd Moellmann2000-02-17 16:15:06 +0000
committerGerd Moellmann2000-02-17 16:15:06 +0000
commit0b3789363d2055713a84978398d36157e6c9eb43 (patch)
tree0327f9b6f929ef693336a4f0010ad50e86393e4e /src/alloc.c
parent4d8cabfd06aef503402e02a6f64843d2f108e632 (diff)
downloademacs-0b3789363d2055713a84978398d36157e6c9eb43.tar.gz
emacs-0b3789363d2055713a84978398d36157e6c9eb43.zip
(enum mem_type): Compile unconditionally.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 04c269deaf0..32a537e5272 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -258,18 +258,6 @@ static void sweep_strings P_ ((void));
258 258
259extern int message_enable_multibyte; 259extern int message_enable_multibyte;
260 260
261
262#if GC_MARK_STACK
263
264#if GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES
265#include <stdio.h> /* For fprintf. */
266#endif
267
268/* A unique object in pure space used to make some Lisp objects
269 on free lists recognizable in O(1). */
270
271Lisp_Object Vdead;
272
273/* When scanning the C stack for live Lisp objects, Emacs keeps track 261/* When scanning the C stack for live Lisp objects, Emacs keeps track
274 of what memory allocated via lisp_malloc is intended for what 262 of what memory allocated via lisp_malloc is intended for what
275 purpose. This enumeration specifies the type of memory. */ 263 purpose. This enumeration specifies the type of memory. */
@@ -286,6 +274,17 @@ enum mem_type
286 MEM_TYPE_VECTOR 274 MEM_TYPE_VECTOR
287}; 275};
288 276
277#if GC_MARK_STACK
278
279#if GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES
280#include <stdio.h> /* For fprintf. */
281#endif
282
283/* A unique object in pure space used to make some Lisp objects
284 on free lists recognizable in O(1). */
285
286Lisp_Object Vdead;
287
289struct mem_node; 288struct mem_node;
290static void *lisp_malloc P_ ((int, enum mem_type)); 289static void *lisp_malloc P_ ((int, enum mem_type));
291static void mark_stack P_ ((void)); 290static void mark_stack P_ ((void));