]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
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 bb7bd7cfc0dd3629e5fc445687d4214eea600c8e..78c2190140c3892f297cf69da662d65b2f252cdd 100644 (file)
@@ -1,6 +1,7 @@
-extern int foo();
+extern int foo (void);
 
-int bar ()
+int
+bar (void)
 {
-  foo();
+  return foo ();
 }
index bb7bd7cfc0dd3629e5fc445687d4214eea600c8e..78c2190140c3892f297cf69da662d65b2f252cdd 100644 (file)
@@ -1,6 +1,7 @@
-extern int foo();
+extern int foo (void);
 
-int bar ()
+int
+bar (void)
 {
-  foo();
+  return foo ();
 }