From feb494d76a34e3ccf614ceccd68d6ce7b2f1cbd8 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Sun, 30 Jul 2000 01:48:28 +0000 Subject: Protoization. --- gdb/stuff.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'gdb/stuff.c') diff --git a/gdb/stuff.c b/gdb/stuff.c index babd29fae6f..33b26f3d5a6 100644 --- a/gdb/stuff.c +++ b/gdb/stuff.c @@ -94,9 +94,7 @@ main (argc, argv) /* Read symbol table from file and returns the offset into the file * where symbol sym_name is located. If error, print message and * exit. */ -get_offset (file, sym_name) - char *file; - char *sym_name; +get_offset (char *file, char *sym_name) { int f; struct exec file_hdr; @@ -139,11 +137,8 @@ get_offset (file, sym_name) return (N_TXTOFF (file_hdr) + core_addr - origin); } -find_symbol (sym_name, symbol_table, length, strings) - char *sym_name; - struct nlist *symbol_table; - int length; - char *strings; +find_symbol (char *sym_name, struct nlist *symbol_table, int length, + char *strings) { register struct nlist *sym; -- cgit v1.2.1