aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/setshow.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/setshow.c')
-rw-r--r--gdb/testsuite/gdb.base/setshow.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/setshow.c b/gdb/testsuite/gdb.base/setshow.c
index ed4e7a9..fbaba0f 100644
--- a/gdb/testsuite/gdb.base/setshow.c
+++ b/gdb/testsuite/gdb.base/setshow.c
@@ -3,10 +3,15 @@
#include <stdio.h>
+#ifdef PROTOTYPES
+int
+main(int argc, char **argv)
+#else
int
main(argc, argv)
int argc;
char **argv;
+#endif
{
int i = 1;
#ifdef usestubs