import gdb-1999-06-28 snapshot
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / mips_pro.c
index d2d1884b9cd1cb9ab8f6ddf15b3b4bbe9f142e1c..b659d82ded27c9755a888b0326faca64410995cb 100644 (file)
@@ -1,15 +1,25 @@
 /* Tests regarding examination of prologues.  */
 
+#ifdef PROTOTYPES
+int
+inner (int z)
+#else
 int
 inner (z)
      int z;
+#endif
 {
   return 2 * z;
 }
 
+#ifdef PROTOTYPES
+int
+middle (int x)
+#else
 int
 middle (x)
      int x;
+#endif
 {
   if (x == 0)
     return inner (5);
@@ -17,15 +27,27 @@ middle (x)
     return inner (6);
 }
 
+#ifdef PROTOTYPES
+int
+top (int y)
+#else
 int
 top (y)
      int y;
+#endif
 {
   return middle (y + 1);
 }
 
+#ifdef PROTOTYPES
+int
+main (int argc, char **argv)
+#else
 int
 main (argc, argv)
+     int argc;
+     char **argv;
+#endif
 {
 #ifdef usestubs
   set_debug_traps();
This page took 0.040438 seconds and 4 git commands to generate.