libio: Use wmemset instead of __wmemset to avoid linknamespace issue
[glibc.git] / elf / ifuncmod6.c
blob2e16c1d06d065aa071352376a1338488ab01d344
1 /* Test STT_GNU_IFUNC symbol reference in a shared library. */
3 extern int foo (void);
5 typedef int (*foo_p) (void);
7 foo_p foo_ptr = foo;
9 foo_p
10 get_foo_p (void)
12 return foo_ptr;
15 foo_p
16 get_foo (void)
18 return foo;