aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/sigaltstack.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/sigaltstack.c')
-rw-r--r--gdb/testsuite/gdb.base/sigaltstack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/sigaltstack.c b/gdb/testsuite/gdb.base/sigaltstack.c
index 338501b..2ee1b1d 100644
--- a/gdb/testsuite/gdb.base/sigaltstack.c
+++ b/gdb/testsuite/gdb.base/sigaltstack.c
@@ -72,6 +72,7 @@ catcher (int signal)
}
+int
main ()
{
/* Set up the altstack. */
@@ -90,4 +91,5 @@ main ()
}
level = MAIN;
catcher (0);
+ return 0;
}