aboutsummaryrefslogtreecommitdiff
path: root/elf/reldep4mod2.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-06-10 23:06:25 +0000
committerRoland McGrath <roland@gnu.org>2001-06-10 23:06:25 +0000
commit563e3528e5db54cb3de9c833e7c219889cc818d5 (patch)
treefbc529a690f2e58443337e54f7f10ec1ec029245 /elf/reldep4mod2.c
parentfecb794f59784aa11d1bab88c155afbc70ae4650 (diff)
downloadglibc-563e3528e5db54cb3de9c833e7c219889cc818d5.tar
glibc-563e3528e5db54cb3de9c833e7c219889cc818d5.tar.gz
glibc-563e3528e5db54cb3de9c833e7c219889cc818d5.tar.bz2
glibc-563e3528e5db54cb3de9c833e7c219889cc818d5.zip
2001-06-10 Roland McGrath <roland@frob.com>
* elf/reldep4mod2.c: Use fully typed decls to avoid warnings. * elf/reldep4mod4.c: Likewise.
Diffstat (limited to 'elf/reldep4mod2.c')
-rw-r--r--elf/reldep4mod2.c7
1 files changed, 4 insertions, 3 deletions
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 ();
}