import gdb-1999-06-28 snapshot
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / return.c
index e19d1a0b1f27c85069e1d1e9af5f7ed0a03d0493..d11a4b57e09f1e448214c85581471165da7f6bb3 100644 (file)
@@ -1,7 +1,7 @@
 #include <stdio.h>
 /*  Test "return" command.  */
 
-func1 ()
+void func1 ()
 {
   printf("in func1\n");
 }
@@ -21,7 +21,7 @@ func3 ()
 int tmp2;
 double tmp3;
 
-main ()
+int main ()
 {
 #ifdef usestubs
   set_debug_traps();
@@ -32,4 +32,5 @@ main ()
   tmp2 = func2 ();
   tmp3 = func3 ();
   printf("exiting\n");
+  return 0;
 }
This page took 0.027383 seconds and 4 git commands to generate.