about summary refs log tree commit diff
path: root/include/string.h
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-05-14 17:56:25 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-07-07 14:10:58 -0300
commit725eeb4af14c6fec4ed26a796cdfd6d50df86d42 (patch)
treed42f43a268e498d3ff8a891ef274747e4f2a0795 /include/string.h
parent28aff047818eb1726394296d27b9c7885340bead (diff)
downloadglibc-725eeb4af14c6fec4ed26a796cdfd6d50df86d42.tar.gz
glibc-725eeb4af14c6fec4ed26a796cdfd6d50df86d42.tar.xz
glibc-725eeb4af14c6fec4ed26a796cdfd6d50df86d42.zip
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 <carlos@redhat.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'include/string.h')
-rw-r--r--include/string.h3
1 files changed, 0 insertions, 3 deletions
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 <string_private.h>
 #endif