comparison src/alloc.c @ 66662:6ab8d86f8a2b

(refill_memory_reserve): Move decl out of conditionals.
author Richard M. Stallman <rms@gnu.org>
date Thu, 03 Nov 2005 21:11:20 +0000
parents 9373f926904a
children 25bf8ea82843 693e794b57bf
comparison
equal deleted inserted replaced
66661:f7b261d0f8e8 66662:6ab8d86f8a2b
358 MEM_TYPE_WINDOW 358 MEM_TYPE_WINDOW
359 }; 359 };
360 360
361 static POINTER_TYPE *lisp_align_malloc P_ ((size_t, enum mem_type)); 361 static POINTER_TYPE *lisp_align_malloc P_ ((size_t, enum mem_type));
362 static POINTER_TYPE *lisp_malloc P_ ((size_t, enum mem_type)); 362 static POINTER_TYPE *lisp_malloc P_ ((size_t, enum mem_type));
363 void refill_memory_reserve ();
364
363 365
364 #if GC_MARK_STACK || defined GC_MALLOC_CHECK 366 #if GC_MARK_STACK || defined GC_MALLOC_CHECK
365 367
366 #if GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES 368 #if GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES
367 #include <stdio.h> /* For fprintf. */ 369 #include <stdio.h> /* For fprintf. */
458 static void mem_rotate_left P_ ((struct mem_node *)); 460 static void mem_rotate_left P_ ((struct mem_node *));
459 static void mem_rotate_right P_ ((struct mem_node *)); 461 static void mem_rotate_right P_ ((struct mem_node *));
460 static void mem_delete P_ ((struct mem_node *)); 462 static void mem_delete P_ ((struct mem_node *));
461 static void mem_delete_fixup P_ ((struct mem_node *)); 463 static void mem_delete_fixup P_ ((struct mem_node *));
462 static INLINE struct mem_node *mem_find P_ ((void *)); 464 static INLINE struct mem_node *mem_find P_ ((void *));
463 void refill_memory_reserve ();
464 465
465 466
466 #if GC_MARK_STACK == GC_MARK_STACK_CHECK_GCPROS 467 #if GC_MARK_STACK == GC_MARK_STACK_CHECK_GCPROS
467 static void check_gcpros P_ ((void)); 468 static void check_gcpros P_ ((void));
468 #endif 469 #endif