[PATCH] libiberity: ANSIfy test-demangle.c

2024-11-16 Thread Andrew Pinski
Some of the function definitions used K&R style definitions (but not all). This just moves them all to be ANSI C Bootstrapped and tested on x86_64-linux-gnu. libiberty/ChangeLog: * testsuite/test-demangle.c (get_line): Change K&R style definition into ANSI C90 definitions.

Re: [PATCH] libiberity: ANSIfy test-demangle.c

2024-11-16 Thread Jakub Jelinek
On Sat, Nov 16, 2024 at 10:55:54AM -0800, Andrew Pinski wrote: > Some of the function definitions used K&R style definitions (but not all). > This just moves them all to be ANSI C > > Bootstrapped and tested on x86_64-linux-gnu. > > libiberty/ChangeLog: > > * testsuite/test-demangle.c (get