From 073063d718f4fba6166c959b2a619435f23d6bf5 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Wed, 23 Aug 2000 16:37:23 +0000 Subject: [PATCH] Protoize. --- gdb/ChangeLog | 5 +++++ gdb/dstread.c | 4 +--- 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 + + * dstread.c (dst_symfile_offsets): Protoize. + * fork-child.c (fork_inferior): Protoize. + 2000-08-21 Kevin Buettner * 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; -- 2.30.2