*** empty log message ***
[deliverable/binutils-gdb.git] / gdb / buildsym.c
index a7f141eb5ddd9cf5d2896f79468fe7d3fbaf844c..36b1395f3b02e5ecd47c3afdfb76b5741ae5a541 100644 (file)
@@ -85,6 +85,10 @@ static int pending_addrmap_interesting;
 
 \f
 static int compare_line_numbers (const void *ln1p, const void *ln2p);
+
+static void record_pending_block (struct objfile *objfile,
+                                 struct block *block,
+                                 struct pending_block *opblock);
 \f
 
 /* Initial sizes of data structures.  These are realloc'd larger if
@@ -97,20 +101,6 @@ static int compare_line_numbers (const void *ln1p, const void *ln2p);
 
 /* 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
@@ -400,7 +390,7 @@ finish_block (struct symbol *symbol, struct pending **listhead,
    Allocate the pending block struct in the objfile_obstack to save
    time.  This wastes a little space.  FIXME: Is it worth it?  */
 
-void
+static void
 record_pending_block (struct objfile *objfile, struct block *block,
                      struct pending_block *opblock)
 {
This page took 0.023933 seconds and 4 git commands to generate.