* 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 b2a9e8b418fcad6bdd3e800282649ba128747346..6b43d01a89a0a24a53716327ac9e48e882587b44 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 fb13162bb6911c3eda055d2c7ed3e427ee5695d1..36b1395f3b02e5ecd47c3afdfb76b5741ae5a541 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 7cd0da09442fdfd22145b6e340b0e9a26fc19a6c..4448267c24a4bca90ac695bb323999159ddd5c79 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);