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