diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-08-10 00:58:09 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-08-10 00:58:09 +0000 |
commit | dbb41be16379bfcaa4edf631103046edc0e3525b (patch) | |
tree | 45253d50bc2958883549bf590123aceb75699f48 /gdb/corefile.c | |
parent | 35fc82857eb04d27f93d32977bea3560d08a0230 (diff) | |
download | binutils-gdb-dbb41be16379bfcaa4edf631103046edc0e3525b.tar.gz |
Protoization.
Diffstat (limited to 'gdb/corefile.c')
-rw-r--r-- | gdb/corefile.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/gdb/corefile.c b/gdb/corefile.c index 6ff1ac5fe2c..5c816b125e7 100644 --- a/gdb/corefile.c +++ b/gdb/corefile.c @@ -120,8 +120,7 @@ call_extra_exec_file_hooks (char *filename) This is called from the x-window display code. */ void -specify_exec_file_hook (hook) - void (*hook) (char *); +specify_exec_file_hook (void (*hook) (char *)) { hook_type *new_array; @@ -349,17 +348,9 @@ read_memory_string (CORE_ADDR memaddr, char *buffer, int max_len) if the protocol has a less general search function, they can call this in the cases it can't handle. */ void -generic_search (len, data, mask, startaddr, increment, lorange, hirange - addr_found, data_found) - int len; - char *data; - char *mask; - CORE_ADDR startaddr; - int increment; - CORE_ADDR lorange; - CORE_ADDR hirange; - CORE_ADDR *addr_found; - char *data_found; +generic_search (int len, char *data, char *mask, CORE_ADDR startaddr, + int increment, CORE_ADDR lorange, CORE_ADDR hirange, + CORE_ADDR *addr_found, char *data_found) { int i; CORE_ADDR curaddr = startaddr; |