summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/list0.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-06-28 16:00:01 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-06-28 16:00:01 +0000
commite4ac0f1d9dea7845c0d0c5706071d4c56dbd42f2 (patch)
treefcdd6689b72a05be54537f587fa5f27bf6a38150 /gdb/testsuite/gdb.base/list0.c
parent1300a17a73c6af5f031f35f7e95c734415a6302b (diff)
downloadgdb-e4ac0f1d9dea7845c0d0c5706071d4c56dbd42f2.tar.gz
import gdb-1999-06-28 snapshot
Diffstat (limited to 'gdb/testsuite/gdb.base/list0.c')
-rw-r--r--gdb/testsuite/gdb.base/list0.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/list0.c b/gdb/testsuite/gdb.base/list0.c
index a5561a766a1..b50fdd4323d 100644
--- a/gdb/testsuite/gdb.base/list0.c
+++ b/gdb/testsuite/gdb.base/list0.c
@@ -1,6 +1,6 @@
#include "list0.h"
-main ()
+int main ()
{
int x;
#ifdef usestubs
@@ -33,6 +33,7 @@ main ()
foo (x++);
foo (x++);
foo (x++);
+ return 0;
}
static void