From: Paul Eggert Date: Thu, 21 Mar 2013 18:28:50 +0000 (-0700) Subject: * alloc.c: Remove redundant static declarations. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~526^2~122 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d6723bf7e58e17c889e354bc429f3f134281953a;p=emacs.git * alloc.c: Remove redundant static declarations. --- diff --git a/src/ChangeLog b/src/ChangeLog index d71b9335319..d6b50412f13 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2013-03-21 Paul Eggert + + * alloc.c: Remove redundant static declarations. + 2013-03-20 Dmitry Antipov * window.h (struct window): Convert left_col, top_line, total_lines diff --git a/src/alloc.c b/src/alloc.c index 5e30c1b20ad..39379bc3bd7 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -323,20 +323,7 @@ static void *min_heap_address, *max_heap_address; static struct mem_node mem_z; #define MEM_NIL &mem_z -static struct Lisp_Vector *allocate_vectorlike (ptrdiff_t); -static void lisp_free (void *); -static void mark_stack (void); -static bool live_vector_p (struct mem_node *, void *); -static bool live_buffer_p (struct mem_node *, void *); -static bool live_string_p (struct mem_node *, void *); -static bool live_cons_p (struct mem_node *, void *); -static bool live_symbol_p (struct mem_node *, void *); -static bool live_float_p (struct mem_node *, void *); -static bool live_misc_p (struct mem_node *, void *); -static void mark_maybe_object (Lisp_Object); -static void mark_memory (void *, void *); #if GC_MARK_STACK || defined GC_MALLOC_CHECK -static void mem_init (void); static struct mem_node *mem_insert (void *, void *, enum mem_type); static void mem_insert_fixup (struct mem_node *); static void mem_rotate_left (struct mem_node *); @@ -346,11 +333,6 @@ static void mem_delete_fixup (struct mem_node *); static struct mem_node *mem_find (void *); #endif - -#if GC_MARK_STACK == GC_MARK_STACK_CHECK_GCPROS -static void check_gcpros (void); -#endif - #endif /* GC_MARK_STACK || GC_MALLOC_CHECK */ #ifndef DEADP