about summary refs log tree commit diff
path: root/elf/reldep4mod4.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/reldep4mod4.c')
-rw-r--r--elf/reldep4mod4.c7
1 files changed, 4 insertions, 3 deletions
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 ();
 }