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-vprintf_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-vprintf_chk.c')
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vprintf_chk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vprintf_chk.c b/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vprintf_chk.c index ca718d06bb..1281e41b6f 100644 --- a/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vprintf_chk.c +++ b/sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vprintf_chk.c @@ -19,7 +19,7 @@ #include <libio/libioP.h> extern int -___ieee128_vprintf_chk (int flag, const char *format, va_list ap) +___ieee128___vprintf_chk (int flag, const char *format, va_list ap) { unsigned int mode = PRINTF_LDBL_USES_FLOAT128; if (flag > 0) @@ -27,4 +27,4 @@ ___ieee128_vprintf_chk (int flag, const char *format, va_list ap) return __vfprintf_internal (stdout, format, ap, mode); } -strong_alias (___ieee128_vprintf_chk, __vprintf_chkieee128) +strong_alias (___ieee128___vprintf_chk, __vprintf_chkieee128) |