diff options
author | Jakub Jelinek <jakub@redhat.com> | 2025-04-01 10:05:18 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2025-04-01 10:05:18 +0200 |
commit | 75a049483c9519e85521a4c903d4a40412b0b25f (patch) | |
tree | 7644bd3b2ebd82ab29fdb1b74b23d87dcbff8afb /gcc/testsuite/gcc.dg/cpp/paste12-2.c | |
parent | 954708cf02adc01d3af9d7d4a860377e985cc9af (diff) | |
download | gcc-75a049483c9519e85521a4c903d4a40412b0b25f.zip gcc-75a049483c9519e85521a4c903d4a40412b0b25f.tar.gz gcc-75a049483c9519e85521a4c903d4a40412b0b25f.tar.bz2 |
libquadmath: Avoid old-style function definition warnings
I've noticed
../../../libquadmath/printf/gmp-impl.h:104:18: warning: old-style function definition [-Wold-style-definition]
../../../libquadmath/printf/gmp-impl.h:104:18: warning: old-style function definition [-Wold-style-definition]
../../../libquadmath/printf/gmp-impl.h:104:18: warning: old-style function definition [-Wold-style-definition]
../../../libquadmath/strtod/strtod_l.c:456:22: warning: old-style function definition [-Wold-style-definition]
warnings during bootstrap (clearly since the switch to -std=gnu23 by default).
The following patch fixes those in libquadmath, the only other warnings are
in zlib.
2025-04-01 Jakub Jelinek <jakub@redhat.com>
* strtod/strtod_l.c (____STRTOF_INTERNAL): Avoid old-style function
definitions.
* printf/addmul_1.c (mpn_addmul_1): Likewise.
* printf/mul_1.c (mpn_mul_1): Likewise.
* printf/submul_1.c (mpn_submul_1): Likewise.
Diffstat (limited to 'gcc/testsuite/gcc.dg/cpp/paste12-2.c')
0 files changed, 0 insertions, 0 deletions