diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-08-23 16:37:23 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-08-23 16:37:23 +0000 |
commit | 6a1dbb55c90354ff05c5cdfe8b9e430a565c3166 (patch) | |
tree | 075ee7de18363bd330a746fe4c8c9c00e724db2d | |
parent | 43f618c1eb5c31b42c6648b9ad9f448d0e44cc34 (diff) | |
download | gdb-6a1dbb55c90354ff05c5cdfe8b9e430a565c3166.tar.gz |
Protoize.
-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 3300c3582d7..8ec20e07db4 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 b6f31ac8463..c49b551321a 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 ea5c33d8ddd..03f6fe22ba7 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; |