diff options
author | John Gilmore <gnu@cygnus> | 1991-05-30 08:52:52 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-05-30 08:52:52 +0000 |
commit | d11c44f1ee9650339d5c874d3227611f82e3f104 (patch) | |
tree | 23487e3405f8e4c1202d95d6c3e3fa4fe67ac2fb /gdb/symtab.c | |
parent | 924bbb3815705cba6e369cbea2dff86884e9265a (diff) | |
download | gdb-d11c44f1ee9650339d5c874d3227611f82e3f104.zip gdb-d11c44f1ee9650339d5c874d3227611f82e3f104.tar.gz gdb-d11c44f1ee9650339d5c874d3227611f82e3f104.tar.bz2 |
Roll in Tiemann changes for gcc -ansi. Fix assorted bugs. See ChangeLog.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 6ebea5e..4b2541b 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -37,8 +37,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <string.h> #include <sys/stat.h> -extern int close (); -extern void qsort (); extern char *getenv (); extern char *cplus_demangle (); @@ -2234,7 +2232,6 @@ decode_line_2 (sym_arr, nelts, funfirstline) int nelts; int funfirstline; { - char *getenv(); struct symtabs_and_lines values, return_values; register CORE_ADDR pc; char *args, *arg1, *command_line_input (); @@ -2466,7 +2463,7 @@ list_symbols (regexp, class, bpt) int found_in_file = 0; if (regexp) - if (0 != (val = (char *) re_comp (regexp))) + if (0 != (val = re_comp (regexp))) error ("Invalid regexp (%s): %s", val, regexp); /* Search through the partial_symtab_list *first* for all symbols |