aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1997-09-09 23:40:44 +0000
committerJeff Law <law@redhat.com>1997-09-09 23:40:44 +0000
commit2f36d00478524ed4081b20db411c94f8b7842c13 (patch)
tree767a05ba6d52076b78f321225fbc07447702295a /gdb/symtab.c
parenteb21b6b66b3c76ef37f98ab8108b09c2ae85f730 (diff)
downloadgdb-2f36d00478524ed4081b20db411c94f8b7842c13.zip
gdb-2f36d00478524ed4081b20db411c94f8b7842c13.tar.gz
gdb-2f36d00478524ed4081b20db411c94f8b7842c13.tar.bz2
* symtab.c (lookup_block_symbol): Add missing PARAMS for
function scoped prototype.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 9ae6442..059820b 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -912,7 +912,8 @@ lookup_block_symbol (block, name, namespace)
const char *name;
const namespace_enum namespace;
{
- extern struct symbol *ref_search_val (struct symbol *sym, CORE_ADDR addr);
+ extern struct symbol *ref_search_val PARAMS ((struct symbol *sym,
+ CORE_ADDR addr));
register int bot, top, inc;
register struct symbol *sym;
register struct symbol *sym_found = NULL;