diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/dstread.c | 4 | ||||
-rw-r--r-- | gdb/fork-child.c | 12 |
3 files changed, 9 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3300c35..8ec20e0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-08-23 Kevin Buettner <kevinb@redhat.com> + + * dstread.c (dst_symfile_offsets): Protoize. + * fork-child.c (fork_inferior): Protoize. + 2000-08-21 Kevin Buettner <kevinb@redhat.com> * dbxread (dbx_symfile_read, process_later): Protoize. diff --git a/gdb/dstread.c b/gdb/dstread.c index b6f31ac..c49b551 100644 --- a/gdb/dstread.c +++ b/gdb/dstread.c @@ -1577,9 +1577,7 @@ struct section_offsets dst_symfile_faker = {0}; void -dst_symfile_offsets (objfile, addr) - struct objfile *objfile; - struct section_addr_info *addrs; +dst_symfile_offsets (struct objfile *objfile, struct section_addr_info *addrs) { objfile->num_sections = 1; objfile->section_offsets = &dst_symfile_faker; diff --git a/gdb/fork-child.c b/gdb/fork-child.c index ea5c33d..03f6fe2 100644 --- a/gdb/fork-child.c +++ b/gdb/fork-child.c @@ -94,15 +94,9 @@ breakup_args (char *scratch, char **argv) or NULL if we should pick one. Errors reported with error(). */ void -fork_inferior (exec_file, allargs, env, traceme_fun, init_trace_fun, - pre_trace_fun, shell_file) - char *exec_file; - char *allargs; - char **env; - void (*traceme_fun) (void); - void (*init_trace_fun) (int); - void (*pre_trace_fun) (void); - char *shell_file; +fork_inferior (char *exec_file, char *allargs, char **env, + void (*traceme_fun) (void), void (*init_trace_fun) (int), + void (*pre_trace_fun) (void), char *shell_file) { int pid; char *shell_command; |