aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/async.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/async.c')
-rw-r--r--gdb/testsuite/gdb.base/async.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/testsuite/gdb.base/async.c b/gdb/testsuite/gdb.base/async.c
index 649e9e6..32779d9 100644
--- a/gdb/testsuite/gdb.base/async.c
+++ b/gdb/testsuite/gdb.base/async.c
@@ -1,12 +1,7 @@
-#ifdef PROTOTYPES
int
foo (void)
-#else
-int
-foo ()
-#endif
{
int y;
volatile int x;
@@ -17,13 +12,8 @@ foo ()
return x + y;
}
-#ifdef PROTOTYPES
int
main (void)
-#else
-int
-main ()
-#endif
{
int y, z;
@@ -37,13 +27,8 @@ main ()
}
-#ifdef PROTOTYPES
int
baz (void)
-#else
-int
-baz ()
-#endif
{
return 5;
}