Skip to content

Commit 6ebd380

Browse files
committed
ld: fix C23 issue in vers7 test
This test is UNSUPPORTED on arm64 with GCC 15 (which defaults to -std=gnu23) because it now prototypes "no arguments". PR ld/32546 * ld-elfvers/vers7.c: Fix function definitions for C23.
1 parent 9a09f8b commit 6ebd380

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ld/testsuite/ld-elfvers/vers7.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* Test program that goes with test7.so
33
*/
44

5-
extern int hide_a();
6-
extern int show_b();
5+
extern int hide_a(int e);
6+
extern int show_b(int e);
77

88
int
99
main()

0 commit comments

Comments
 (0)