* symtab.h (add_minsym_to_hash_table): Don't declare.
authorTom Tromey <tromey@redhat.com>
Mon, 19 Dec 2011 16:11:14 +0000 (16:11 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 19 Dec 2011 16:11:14 +0000 (16:11 +0000)
* minsyms.c (add_minsym_to_hash_table): Now static.

gdb/ChangeLog
gdb/minsyms.c
gdb/symtab.h

index 68267a3..c433ef1 100644 (file)
@@ -1,3 +1,8 @@
+2011-12-19  Tom Tromey  <tromey@redhat.com>
+
+       * symtab.h (add_minsym_to_hash_table): Don't declare.
+       * minsyms.c (add_minsym_to_hash_table): Now static.
+
 2011-12-19  Joel Brobecker  <brobecker@adacore.com>
 
        * elfread.c (elf_symtab_read): Ignore undefined symbols with
index f90f036..8ac5014 100644 (file)
@@ -111,7 +111,7 @@ msymbol_hash (const char *string)
 }
 
 /* Add the minimal symbol SYM to an objfile's minsym hash table, TABLE.  */
-void
+static void
 add_minsym_to_hash_table (struct minimal_symbol *sym,
                          struct minimal_symbol **table)
 {
index 7b52c88..90153ed 100644 (file)
@@ -1038,10 +1038,6 @@ extern unsigned int msymbol_hash (const char *);
 
 extern struct objfile * msymbol_objfile (struct minimal_symbol *sym);
 
-extern void
-add_minsym_to_hash_table (struct minimal_symbol *sym,
-                         struct minimal_symbol **table);
-
 extern struct minimal_symbol *lookup_minimal_symbol (const char *,
                                                     const char *,
                                                     struct objfile *);