summaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-10-28 22:15:09 +0000
committerKevin Buettner <kevinb@redhat.com>2000-10-28 22:15:09 +0000
commit12c29b397f68e33a4a1f0cc83dad10956f9ebcde (patch)
tree161c41a7c5990dc1b6214e0111735dea0285cf38 /gdb/symtab.c
parentd8fb7e4fa09e16821e805d5f5af64086b86270bb (diff)
downloadgdb-12c29b397f68e33a4a1f0cc83dad10956f9ebcde.tar.gz
Protoization.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c20
1 files changed, 5 insertions, 15 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index d6120726814..f47d1b0b124 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -3260,11 +3260,8 @@ decode_line_spec (char *string, int funfirstline)
as canonical line specs there. */
static struct symtabs_and_lines
-decode_line_2 (sym_arr, nelts, funfirstline, canonical)
- struct symbol *sym_arr[];
- int nelts;
- int funfirstline;
- char ***canonical;
+decode_line_2 (struct symbol *sym_arr[], int nelts, int funfirstline,
+ char ***canonical)
{
struct symtabs_and_lines values, return_values;
char *args, *arg1;
@@ -3479,10 +3476,7 @@ sources_info (char *ignore, int from_tty)
}
static int
-file_matches (file, files, nfiles)
- char *file;
- char *files[];
- int nfiles;
+file_matches (char *file, char *files[], int nfiles)
{
int i;
@@ -3539,12 +3533,8 @@ make_cleanup_free_search_symbols (struct symbol_search *symbols)
free_search_symbols should be called when *MATCHES is no longer needed.
*/
void
-search_symbols (regexp, kind, nfiles, files, matches)
- char *regexp;
- namespace_enum kind;
- int nfiles;
- char *files[];
- struct symbol_search **matches;
+search_symbols (char *regexp, namespace_enum kind, int nfiles, char *files[],
+ struct symbol_search **matches)
{
register struct symtab *s;