* buildsym.c (add_free_pendings): Remove.
authorTom Tromey <tromey@redhat.com>
Mon, 23 Apr 2012 18:53:16 +0000 (18:53 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 23 Apr 2012 18:53:16 +0000 (18:53 +0000)
* buildsym.h (add_free_pendings): Remove.

gdb/ChangeLog
gdb/buildsym.c
gdb/buildsym.h

index b2a9e8b..6b43d01 100644 (file)
@@ -1,3 +1,8 @@
+2012-04-23  Tom Tromey  <tromey@redhat.com>
+
+       * buildsym.c (add_free_pendings): Remove.
+       * buildsym.h (add_free_pendings): Remove.
+
 2012-04-23  Doug Evans  <dje@google.com>
 
        * dwarf2read.c (partial_die_full_name): Record DW_FORM_ref_addr in
index fb13162..36b1395 100644 (file)
@@ -101,20 +101,6 @@ static void record_pending_block (struct objfile *objfile,
 
 /* Maintain the lists of symbols and blocks.  */
 
-/* Add a pending list to free_pendings.  */
-void
-add_free_pendings (struct pending *list)
-{
-  struct pending *link = list;
-
-  if (list)
-    {
-      while (link->next) link = link->next;
-      link->next = free_pendings;
-      free_pendings = list;
-    }
-}
-
 /* Add a symbol to one of the lists of symbols.  */
 
 void
index 7cd0da0..4448267 100644 (file)
@@ -233,8 +233,6 @@ EXTERN int type_vector_length;
 
 #define        INITIAL_TYPE_VECTOR_LENGTH      160
 
-extern void add_free_pendings (struct pending *list);
-
 extern void add_symbol_to_list (struct symbol *symbol,
                                struct pending **listhead);