diff options
author | Roland McGrath <roland@gnu.org> | 2001-06-10 23:06:25 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-06-10 23:06:25 +0000 |
commit | 563e3528e5db54cb3de9c833e7c219889cc818d5 (patch) | |
tree | fbc529a690f2e58443337e54f7f10ec1ec029245 | |
parent | fecb794f59784aa11d1bab88c155afbc70ae4650 (diff) | |
download | glibc-563e3528e5db54cb3de9c833e7c219889cc818d5.tar.gz glibc-563e3528e5db54cb3de9c833e7c219889cc818d5.tar.xz 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.
-rw-r--r-- | elf/reldep4mod2.c | 7 | ||||
-rw-r--r-- | elf/reldep4mod4.c | 7 |
2 files changed, 8 insertions, 6 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 (); } 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 (); } |