Provide function declaration in order to fix the test case build with the new -std=gnu23 default.
Pushed to trunk. gcc/testsuite/ChangeLog: * gcc.target/pru/pr64366.c (foobar): Provide full function delaration. Signed-off-by: Dimitar Dimitrov <dimi...@dinux.eu> --- gcc/testsuite/gcc.target/pru/pr64366.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/pru/pr64366.c b/gcc/testsuite/gcc.target/pru/pr64366.c index 1608d469499..8a7f78e338f 100644 --- a/gcc/testsuite/gcc.target/pru/pr64366.c +++ b/gcc/testsuite/gcc.target/pru/pr64366.c @@ -63,7 +63,7 @@ typedef struct BigStruct{ int8_t xx; } BigStruct; -extern void foobar(); +extern void foobar(const char *fmt, ...); void test_large_fn (uint8_t ui8_1, int8_t si8_1, uint16_t ui16_1, int16_t si16_1, -- 2.47.0