diff options
author | Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> | 2021-02-13 18:49:56 -0300 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> | 2021-02-13 18:49:56 -0300 |
commit | cde88e739832faa9ef82fdadb01efdf9d66a9a00 (patch) | |
tree | 394fe452e6f70936bc5be2a6a0e8365392a8c0db /elf/ifuncmod6.c | |
parent | 148200bda390e59c9c33193e2f6d73abcef417e7 (diff) | |
parent | e9db77683e10c589529f452710868c3bde2c6d3f (diff) | |
download | glibc-ibm/2.28/master.zip glibc-ibm/2.28/master.tar.gz glibc-ibm/2.28/master.tar.bz2 |
Merge branch release/2.28/master into ibm/2.28/masteribm/2.28/master
Diffstat (limited to 'elf/ifuncmod6.c')
-rw-r--r-- | elf/ifuncmod6.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/elf/ifuncmod6.c b/elf/ifuncmod6.c index 2e16c1d..2f6d071 100644 --- a/elf/ifuncmod6.c +++ b/elf/ifuncmod6.c @@ -4,7 +4,7 @@ extern int foo (void); typedef int (*foo_p) (void); -foo_p foo_ptr = foo; +extern foo_p foo_ptr; foo_p get_foo_p (void) @@ -12,8 +12,8 @@ get_foo_p (void) return foo_ptr; } -foo_p -get_foo (void) +int +call_foo (void) { - return foo; + return foo (); } |