Protoize.
[deliverable/binutils-gdb.git] / gdb / fork-child.c
index 0996fbd4590f5afea3f4e2823e6e5f4e61ad1a33..03f6fe22ba7fc070b7488c185309962829c65c0b 100644 (file)
@@ -46,11 +46,7 @@ extern char **environ;
  * the four arguments "a", "b", "c", "d".
  */
 static void
-breakup_args (
-              scratch,
-              argv)
-     char *scratch;
-     char **argv;
+breakup_args (char *scratch, char **argv)
 {
   char *cp = scratch;
 
@@ -98,15 +94,9 @@ breakup_args (
    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;
@@ -388,9 +378,7 @@ fork_inferior (exec_file, allargs, env, traceme_fun, init_trace_fun,
    clone will set it TRUE.
  */
 void
-clone_and_follow_inferior (child_pid, followed_child)
-     int child_pid;
-     int *followed_child;
+clone_and_follow_inferior (int child_pid, int *followed_child)
 {
   extern int auto_solib_add;
 
@@ -512,8 +500,7 @@ clone_and_follow_inferior (child_pid, followed_child)
 /* Accept NTRAPS traps from the inferior.  */
 
 void
-startup_inferior (ntraps)
-     int ntraps;
+startup_inferior (int ntraps)
 {
   int pending_execs = ntraps;
   int terminal_initted;
This page took 0.02425 seconds and 4 git commands to generate.