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-vasprintf_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-vasprintf_chk.c')
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vasprintf_chk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vasprintf_chk.c b/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vasprintf_chk.c index 5350e777f3..a5a048f2b5 100644 --- a/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vasprintf_chk.c +++ b/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vasprintf_chk.c @@ -19,7 +19,7 @@ #include <libio/libioP.h> extern int -___ieee128_vasprintf_chk (char **result_ptr, int flag, const char *format, +___ieee128___vasprintf_chk (char **result_ptr, int flag, const char *format, va_list ap) { unsigned int mode = PRINTF_LDBL_USES_FLOAT128; @@ -28,4 +28,4 @@ ___ieee128_vasprintf_chk (char **result_ptr, int flag, const char *format, return __vasprintf_internal (result_ptr, format, ap, mode); } -strong_alias (___ieee128_vasprintf_chk, __vasprintf_chkieee128) +strong_alias (___ieee128___vasprintf_chk, __vasprintf_chkieee128) |