Protoize.

This commit is contained in:
Kevin Buettner 2000-08-23 16:37:23 +00:00
parent a3da4de1ac
commit 073063d718
3 changed files with 9 additions and 12 deletions

View File

@ -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.

View File

@ -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;

View File

@ -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;