aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-04-13 23:15:53 -0700
committerPaul Eggert2011-04-13 23:15:53 -0700
commit69003fd8410b1d08ad4364af1eb29a4b795f59bb (patch)
tree53188aba5fbd6ff473b0015e1e800eaefc32ae2c /src
parenta7ca3326c4740ed3ed118b794d35d235de49f346 (diff)
downloademacs-69003fd8410b1d08ad4364af1eb29a4b795f59bb.tar.gz
emacs-69003fd8410b1d08ad4364af1eb29a4b795f59bb.zip
2011-04-14 Paul Eggert <eggert@cs.ucla.edu>
* alloc.c (refill_memory_reserve): Now static if !defined REL_ALLOC || defined SYSTEM_MALLOC. * lisp.h (refill_memory_reserve): Declare only if not static.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/alloc.c3
-rw-r--r--src/lisp.h2
3 files changed, 10 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 15e2aaf9714..fb97a49e5b5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,4 +1,8 @@
12011-04-14 Paul Eggert <eggert@cs.ucla.edu> 1 2011-04-14 Paul Eggert <eggert@cs.ucla.edu>
2
3 * alloc.c (refill_memory_reserve): Now static if
4 !defined REL_ALLOC || defined SYSTEM_MALLOC.
5 * lisp.h (refill_memory_reserve): Declare only if not static.
2 6
3 * xsettings.c, xsettings.h (xsettings_get_system_normal_font): 7 * xsettings.c, xsettings.h (xsettings_get_system_normal_font):
4 Define only if USE_LUCID. 8 Define only if USE_LUCID.
diff --git a/src/alloc.c b/src/alloc.c
index d1d6323f905..1c793c985eb 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -280,6 +280,9 @@ static void gc_sweep (void);
280static void mark_glyph_matrix (struct glyph_matrix *); 280static void mark_glyph_matrix (struct glyph_matrix *);
281static void mark_face_cache (struct face_cache *); 281static void mark_face_cache (struct face_cache *);
282 282
283#if !defined REL_ALLOC || defined SYSTEM_MALLOC
284static void refill_memory_reserve (void);
285#endif
283static struct Lisp_String *allocate_string (void); 286static struct Lisp_String *allocate_string (void);
284static void compact_small_strings (void); 287static void compact_small_strings (void);
285static void free_large_strings (void); 288static void free_large_strings (void);
diff --git a/src/lisp.h b/src/lisp.h
index 4696a1c3432..4c7c5b50c89 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -2652,7 +2652,9 @@ extern void memory_full (void) NO_RETURN;
2652extern void buffer_memory_full (void) NO_RETURN; 2652extern void buffer_memory_full (void) NO_RETURN;
2653extern int survives_gc_p (Lisp_Object); 2653extern int survives_gc_p (Lisp_Object);
2654extern void mark_object (Lisp_Object); 2654extern void mark_object (Lisp_Object);
2655#if defined REL_ALLOC && !defined SYSTEM_MALLOC
2655extern void refill_memory_reserve (void); 2656extern void refill_memory_reserve (void);
2657#endif
2656extern const char *pending_malloc_warning; 2658extern const char *pending_malloc_warning;
2657extern Lisp_Object *stack_base; 2659extern Lisp_Object *stack_base;
2658EXFUN (Fcons, 2); 2660EXFUN (Fcons, 2);