diff options
author | Frédéric Bérat <fberat@redhat.com> | 2023-06-16 16:53:29 +0200 |
---|---|---|
committer | Frédéric Bérat <fberat@redhat.com> | 2023-07-05 16:59:48 +0200 |
commit | ba96ff24b253d0321508b8b462103bbaa2975bb5 (patch) | |
tree | 7361d6b21d0fc06d5941a1e482757134b7358ccf /sysdeps/ieee754/ldbl-128ibm-compat/ieee128-fprintf_chk.c | |
parent | 20c894d21eb64153abf7c7f96e6a151897cf1488 (diff) | |
download | glibc-ba96ff24b253d0321508b8b462103bbaa2975bb5.tar glibc-ba96ff24b253d0321508b8b462103bbaa2975bb5.tar.gz glibc-ba96ff24b253d0321508b8b462103bbaa2975bb5.tar.bz2 glibc-ba96ff24b253d0321508b8b462103bbaa2975bb5.zip |
sysdeps: Ensure ieee128*_chk routines to be properly named
The *_chk routines naming doesn't match the name that would be generated
using libc_hidden_ldbl_proto. Since the macro is needed for some of
these *_chk functions for _FORTIFY_SOURCE to be enabled, that needed to
be fixed.
While at it, all the *_chk function get renamed appropriately for
consistency, even if not strictly necessary.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Paul E. Murphy <murphyp@linux.ibm.com>
Diffstat (limited to 'sysdeps/ieee754/ldbl-128ibm-compat/ieee128-fprintf_chk.c')
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm-compat/ieee128-fprintf_chk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-fprintf_chk.c b/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-fprintf_chk.c index 44eed0de99..bd10e9c3db 100644 --- a/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-fprintf_chk.c +++ b/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-fprintf_chk.c @@ -20,7 +20,7 @@ #include <libio/libioP.h> extern int -___ieee128_fprintf_chk (FILE *fp, int flag, const char *format, ...) +___ieee128___fprintf_chk (FILE *fp, int flag, const char *format, ...) { va_list ap; int done; @@ -35,4 +35,4 @@ ___ieee128_fprintf_chk (FILE *fp, int flag, const char *format, ...) return done; } -strong_alias (___ieee128_fprintf_chk, __fprintf_chkieee128) +strong_alias (___ieee128___fprintf_chk, __fprintf_chkieee128) |