aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/ifuncmod6.c
diff options
context:
space:
mode:
Diffstat (limited to 'gold/testsuite/ifuncmod6.c')
-rw-r--r--gold/testsuite/ifuncmod6.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gold/testsuite/ifuncmod6.c b/gold/testsuite/ifuncmod6.c
index 89a50f9..d324a82 100644
--- a/gold/testsuite/ifuncmod6.c
+++ b/gold/testsuite/ifuncmod6.c
@@ -5,9 +5,9 @@ extern int foo (void);
typedef int (*foo_p) (void);
extern foo_p get_foo_p (void);
-extern foo_p get_foo (void);
+extern int call_foo (void);
-foo_p foo_ptr = foo;
+extern foo_p foo_ptr;
foo_p
get_foo_p (void)
@@ -15,8 +15,8 @@ get_foo_p (void)
return foo_ptr;
}
-foo_p
-get_foo (void)
+int
+call_foo (void)
{
- return foo;
+ return foo ();
}