diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/multi-forks.c')
-rw-r--r-- | gdb/testsuite/gdb.base/multi-forks.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/multi-forks.c b/gdb/testsuite/gdb.base/multi-forks.c index c090c57..bbe06c3 100644 --- a/gdb/testsuite/gdb.base/multi-forks.c +++ b/gdb/testsuite/gdb.base/multi-forks.c @@ -22,6 +22,7 @@ pid_t pids[4]; +int main() { int i; @@ -32,5 +33,5 @@ main() printf ("%d ready\n", getpid ()); sleep (2); printf ("%d done\n", getpid ()); - exit (0); /* Set exit breakpoint here. */ + return 0; /* Set exit breakpoint here. */ } |