diff options
author | Jeff Law <law@redhat.com> | 1997-09-09 23:40:44 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1997-09-09 23:40:44 +0000 |
commit | 2f36d00478524ed4081b20db411c94f8b7842c13 (patch) | |
tree | 767a05ba6d52076b78f321225fbc07447702295a | |
parent | eb21b6b66b3c76ef37f98ab8108b09c2ae85f730 (diff) | |
download | gdb-2f36d00478524ed4081b20db411c94f8b7842c13.zip gdb-2f36d00478524ed4081b20db411c94f8b7842c13.tar.gz gdb-2f36d00478524ed4081b20db411c94f8b7842c13.tar.bz2 |
* symtab.c (lookup_block_symbol): Add missing PARAMS for
function scoped prototype.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/symtab.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ff75c95..e266390 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Tue Sep 9 17:41:41 1997 Jeffrey A Law (law@cygnus.com) + + * symtab.c (lookup_block_symbol): Add missing PARAMS for + function scoped prototype. + Mon Sep 8 16:45:51 1997 Stu Grossman <grossman@cygnus.com> * ser-e7kpc.c: Don't include w32sut.h. We no longer use the UT 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; |