From 725eeb4af14c6fec4ed26a796cdfd6d50df86d42 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Thu, 14 May 2020 17:56:25 -0300 Subject: string: Use tls-internal on strerror_l The buffer allocation uses the same strategy of strsignal. Checked on x86-64-linux-gnu, i686-linux-gnu, powerpc64le-linux-gnu, and s390x-linux-gnu. Tested-by: Carlos O'Donell Reviewed-by: Carlos O'Donell --- include/string.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include') diff --git a/include/string.h b/include/string.h index 3a33327cc0..ce01ad8254 100644 --- a/include/string.h +++ b/include/string.h @@ -53,9 +53,6 @@ extern char *__strerror_r (int __errnum, char *__buf, size_t __buflen); extern char *__strerror_l (int __errnum, locale_t __loc); -/* Called as part of the thread shutdown sequence. */ -void __strerror_thread_freeres (void) attribute_hidden; - /* Get _STRING_ARCH_unaligned. */ #include #endif -- cgit v1.2.3-70-g09d2