ld: Update function prototypes for compilers defaulting to -std=gnu23
[binutils-gdb.git] / ld / testsuite / ld-elf / indirect4b.c
blobd82d630aeb6610cb9fa22bdad99b563d4855718b
1 #include <stdio.h>
3 void
4 foo2 (void)
6 printf ("MAIN2\n");
9 __asm__ (".symver foo2,foo@@FOO2");
10 #if defined __powerpc64__ && defined _CALL_AIXDESC && !defined _CALL_LINUX
11 __asm__ (".symver .foo2,.foo@@FOO2");
12 #endif
14 void
15 foo1 (void)
17 printf ("MAIN1\n");
20 __asm__ (".symver foo1,foo@FOO1");
21 #if defined __powerpc64__ && defined _CALL_AIXDESC && !defined _CALL_LINUX
22 __asm__ (".symver .foo1,.foo@FOO1");
23 #endif