binutils/
[external/binutils.git] / gdb / testsuite / gdb.base / jump.c
index e16d0fd..aae94f7 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;
 }