summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/execd-prog.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/execd-prog.c')
-rw-r--r--gdb/testsuite/gdb.base/execd-prog.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.base/execd-prog.c b/gdb/testsuite/gdb.base/execd-prog.c
index 5435f7d15e3..ac9928fd823 100644
--- a/gdb/testsuite/gdb.base/execd-prog.c
+++ b/gdb/testsuite/gdb.base/execd-prog.c
@@ -8,13 +8,7 @@
*/
int global_i = 0;
-#ifdef PROTOTYPES
int main (int argc, char **argv)
-#else
-main (argc, argv)
- int argc;
- char * argv[];
-#endif
{
/* There is a local_j in foll-exec, which exec's us. We
should not be able to see that other definition of local_j