* symtab.h (add_minsym_to_hash_table): Don't declare.

* minsyms.c (add_minsym_to_hash_table): Now static.
This commit is contained in:
Tom Tromey 2011-12-19 16:11:14 +00:00
parent ab76eeafa5
commit 984ac46443
3 changed files with 6 additions and 5 deletions

View 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

View 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)
{

View 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 *);