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.
This commit is contained in:
Sam James
2025-05-14 06:38:56 +01:00
parent 9a09f8b84c
commit 6ebd38072d

View File

@@ -2,8 +2,8 @@
* Test program that goes with test7.so * Test program that goes with test7.so
*/ */
extern int hide_a(); extern int hide_a(int e);
extern int show_b(); extern int show_b(int e);
int int
main() main()