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-vsnprintf_chk.c | |
parent | 20c894d21eb64153abf7c7f96e6a151897cf1488 (diff) | |
download | glibc-ba96ff24b253d0321508b8b462103bbaa2975bb5.tar.gz glibc-ba96ff24b253d0321508b8b462103bbaa2975bb5.tar.xz 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-vsnprintf_chk.c')
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vsnprintf_chk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vsnprintf_chk.c b/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vsnprintf_chk.c index 79d359b5d4..d91e8fa956 100644 --- a/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vsnprintf_chk.c +++ b/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vsnprintf_chk.c @@ -19,7 +19,7 @@ #include <libio/libioP.h> extern int -___ieee128_vsnprintf_chk (char *string, size_t maxlen, int flag, +___ieee128___vsnprintf_chk (char *string, size_t maxlen, int flag, size_t slen, const char *format, va_list ap) { if (__glibc_unlikely (slen < maxlen)) @@ -31,4 +31,4 @@ ___ieee128_vsnprintf_chk (char *string, size_t maxlen, int flag, return __vsnprintf_internal (string, maxlen, format, ap, mode); } -strong_alias (___ieee128_vsnprintf_chk, __vsnprintf_chkieee128) +strong_alias (___ieee128___vsnprintf_chk, __vsnprintf_chkieee128) |