emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r112105: * alloc.c: Remove redundant


From: Paul Eggert
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112105: * alloc.c: Remove redundant static declarations.
Date: Thu, 21 Mar 2013 11:28:50 -0700
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 112105
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Thu 2013-03-21 11:28:50 -0700
message:
  * alloc.c: Remove redundant static declarations.
modified:
  src/ChangeLog
  src/alloc.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-03-20 11:29:37 +0000
+++ b/src/ChangeLog     2013-03-21 18:28:50 +0000
@@ -1,3 +1,7 @@
+2013-03-21  Paul Eggert  <address@hidden>
+
+       * alloc.c: Remove redundant static declarations.
+
 2013-03-20  Dmitry Antipov  <address@hidden>
 
        * window.h (struct window): Convert left_col, top_line, total_lines

=== modified file 'src/alloc.c'
--- a/src/alloc.c       2013-03-19 04:41:53 +0000
+++ b/src/alloc.c       2013-03-21 18:28:50 +0000
@@ -323,20 +323,7 @@
 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 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]