2001-06-10 Roland McGrath <roland@frob.com>
authorRoland McGrath <roland@gnu.org>
Sun, 10 Jun 2001 23:06:25 +0000 (23:06 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 10 Jun 2001 23:06:25 +0000 (23:06 +0000)
* elf/reldep4mod2.c: Use fully typed decls to avoid warnings.
* elf/reldep4mod4.c: Likewise.

elf/reldep4mod2.c
elf/reldep4mod4.c

index bb7bd7c..78c2190 100644 (file)
@@ -1,6 +1,7 @@
-extern int foo();
+extern int foo (void);
 
-int bar ()
+int
+bar (void)
 {
-  foo();
+  return foo ();
 }
index bb7bd7c..78c2190 100644 (file)
@@ -1,6 +1,7 @@
-extern int foo();
+extern int foo (void);
 
-int bar ()
+int
+bar (void)
 {
-  foo();
+  return foo ();
 }