mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Remove <libc-tsd.h>
Use __thread variables directly instead. The macros do not save any typing. It seems unlikely that a future port will lack __thread variable support. Some of the __libc_tsd_* variables are referenced from assembler files, so keep their names. Previously, <libc-tls.h> included <tls.h>, which in turn included <errno.h>, so a few direct includes of <errno.h> are now required. Reviewed-by: Frédéric Bérat <fberat@redhat.com>
This commit is contained in:
@ -21,5 +21,5 @@
|
||||
char *
|
||||
strerror (int errnum)
|
||||
{
|
||||
return __strerror_l (errnum, __libc_tsd_get (locale_t, LOCALE));
|
||||
return __strerror_l (errnum, __libc_tsd_LOCALE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user