]> git.ipfire.org Git - thirdparty/glibc.git/commit
Remove <libc-tsd.h>
authorFlorian Weimer <fweimer@redhat.com>
Fri, 16 May 2025 17:53:09 +0000 (19:53 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 16 May 2025 17:53:09 +0000 (19:53 +0200)
commit10a66a8e421b09682b774c795ef1da402235dddc
treeab533cd7616e52914c29ab9a9ce03aab1e891ff4
parent579f8668816b35f8302e89e5255aff60b81938df
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>
ctype/ctype-info.c
include/ctype.h
include/rpc/rpc.h
locale/lc-ctype.c
locale/localeinfo.h
locale/uselocale.c
stdio-common/printf-parsemb.c
string/strerror.c
sunrpc/rpc_thread.c
sysdeps/generic/libc-tsd.h [deleted file]
time/strftime_l.c