aboutsummaryrefslogtreecommitdiff
path: root/elf
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
parentfecb794f59784aa11d1bab88c155afbc70ae4650 (diff)
downloadglibc-563e3528e5db54cb3de9c833e7c219889cc818d5.zip
glibc-563e3528e5db54cb3de9c833e7c219889cc818d5.tar.gz
glibc-563e3528e5db54cb3de9c833e7c219889cc818d5.tar.bz2
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')
-rw-r--r--elf/reldep4mod2.c7
-rw-r--r--elf/reldep4mod4.c7
2 files changed, 8 insertions, 6 deletions
diff --git a/elf/reldep4mod2.c b/elf/reldep4mod2.c
index bb7bd7c..78c2190 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 bb7bd7c..78c2190 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 ();
}