diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
commit | fba45db2faf619e71856ee38ec63949c0ef6903e (patch) | |
tree | 107efc21d2b12f54d84b59e75251449e3d5fd096 /gdb/stuff.c | |
parent | 29e6d33b03a5e39540d17bc8235573b1dac13341 (diff) | |
download | gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb/stuff.c')
-rw-r--r-- | gdb/stuff.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/gdb/stuff.c b/gdb/stuff.c index babd29f..33b26f3 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; |