From: Dan Nicolaescu Date: Thu, 18 Nov 2010 21:45:03 +0000 (-0800) Subject: * src/alloc.c (refill_memory_reserve): Move declaration ... X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~197 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=84dfc8a7faccf53d54231ab47a2dc237c80251fb;p=emacs.git * src/alloc.c (refill_memory_reserve): Move declaration ... * src/lisp.h (refill_memory_reserve): ... here. --- diff --git a/src/ChangeLog b/src/ChangeLog index cebb4fc97ed..9c113a35a77 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2010-11-18 Dan Nicolaescu + * alloc.c (refill_memory_reserve): Move declaration ... + * lisp.h (refill_memory_reserve): ... here. + * strftime.c (_strftime_copytm): Add declaration. * callproc.c (syms_of_callproc): Use intern_c_string. diff --git a/src/alloc.c b/src/alloc.c index fa39c1ee5dc..6e121212b14 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -351,7 +351,6 @@ enum mem_type static POINTER_TYPE *lisp_align_malloc (size_t, enum mem_type); static POINTER_TYPE *lisp_malloc (size_t, enum mem_type); -void refill_memory_reserve (void); #if GC_MARK_STACK || defined GC_MALLOC_CHECK diff --git a/src/lisp.h b/src/lisp.h index 8ddd7af79a8..117e810e565 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -2736,6 +2736,7 @@ extern void memory_full (void) NO_RETURN; extern void buffer_memory_full (void) NO_RETURN; extern int survives_gc_p (Lisp_Object); extern void mark_object (Lisp_Object); +extern void refill_memory_reserve (void); extern const char *pending_malloc_warning; extern Lisp_Object Vpurify_flag; extern Lisp_Object Vmemory_full;