import gdb-1999-06-28 snapshot
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / jump.c
index e16d0fd384d57389ad273ee020abf2a659ae1ae3..aae94f7e85a89b72af12a7761d29b174d981a006 100644 (file)
@@ -2,18 +2,23 @@
    particularly deep about the functionality nor names in here.
    */
 
+#ifdef PROTOTYPES
+static int square (int x)
+#else
 static int square (x)
   int  x;
+#endif
 {
   return x*x;
 }
 
 
-main ()
+int main ()
 {
   int i = 99;
 
   i++;
   i = square (i);
   i--;
+  return 0;
 }
This page took 0.0478 seconds and 4 git commands to generate.