summaryrefslogtreecommitdiff
path: root/gdb/fork-child.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r--gdb/fork-child.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c
index 0996fbd4590..ea5c33d8ddd 100644
--- a/gdb/fork-child.c
+++ b/gdb/fork-child.c
@@ -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;
@@ -388,9 +384,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 +506,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;