From 563e3528e5db54cb3de9c833e7c219889cc818d5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 10 Jun 2001 23:06:25 +0000 Subject: 2001-06-10 Roland McGrath * elf/reldep4mod2.c: Use fully typed decls to avoid warnings. * elf/reldep4mod4.c: Likewise. --- elf/reldep4mod2.c | 7 ++++--- elf/reldep4mod4.c | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'elf') diff --git a/elf/reldep4mod2.c b/elf/reldep4mod2.c index bb7bd7cfc0..78c2190140 100644 --- a/elf/reldep4mod2.c +++ b/elf/reldep4mod2.c @@ -1,6 +1,7 @@ -extern int foo(); +extern int foo (void); -int bar () +int +bar (void) { - foo(); + return foo (); } diff --git a/elf/reldep4mod4.c b/elf/reldep4mod4.c index bb7bd7cfc0..78c2190140 100644 --- a/elf/reldep4mod4.c +++ b/elf/reldep4mod4.c @@ -1,6 +1,7 @@ -extern int foo(); +extern int foo (void); -int bar () +int +bar (void) { - foo(); + return foo (); } -- cgit 1.4.1