diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/minsyms.c | 2 | ||||
-rw-r--r-- | gdb/symtab.h | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 68267a3..c433ef1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/minsyms.c b/gdb/minsyms.c index f90f036..8ac5014 100644 --- a/gdb/minsyms.c +++ b/gdb/minsyms.c @@ -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) { diff --git a/gdb/symtab.h b/gdb/symtab.h index 7b52c88..90153ed 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -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 *); |