aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
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 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 ();
}