diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2025-01-12 15:14:38 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2025-01-12 16:45:45 +0800 |
commit | fd7728c8a4aa7aa5761ccb18879ea8d137958b06 (patch) | |
tree | 02d14a6d6a761071d5c592f4654d6e4d1ef119ce /gdb/ui-style.c | |
parent | b5b9f926354d7f79048701cbe5a57dac8f3919b0 (diff) | |
download | binutils-fd7728c8a4aa7aa5761ccb18879ea8d137958b06.zip binutils-fd7728c8a4aa7aa5761ccb18879ea8d137958b06.tar.gz binutils-fd7728c8a4aa7aa5761ccb18879ea8d137958b06.tar.bz2 |
ld: Update function prototypes for compilers defaulting to -std=gnu23
Since GCC 15 defaults to -std=gnu23, update function prototypes in linker
tests for compilers defaulting to -std=gnu23.
PR ld/32546
* ld-shared/main.c (shlib_checkfunptr1): Update prototype for
compilers defaulting to -std=gnu23.
(shlib_checkfunptr2): Likewise.
* ld-shared/sh1.c (shlib_checkfunptr1): Likewise.
(shlib_checkfunptr2): Likewise.
* ld-srec/sr1.c (fn1): Likewise.
(fn2): Likewise.
* ld-srec/sr2.c (fn1): Likewise.
(fn2): Likewise.
* ld-vsb/main.c (shlib_checkfunptr1): Likewise.
(shlib_checkfunptr2): Likewise.
* ld-vsb/sh1.c (hlib_checkfunptr1): Likewise.
(shlib_checkfunptr2): Likewise.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gdb/ui-style.c')
0 files changed, 0 insertions, 0 deletions