summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog3
-rw-r--r--src/alloc.c1
-rw-r--r--src/lisp.h1
3 files changed, 4 insertions, 1 deletions
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 <dann@ics.uci.edu>
+ * 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;