diff options
| author | Florian Weimer <fweimer@redhat.com> | 2025-05-16 19:53:09 +0200 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2025-05-16 19:53:09 +0200 |
| commit | 10a66a8e421b09682b774c795ef1da402235dddc (patch) | |
| tree | ab533cd7616e52914c29ab9a9ce03aab1e891ff4 /sunrpc | |
| parent | 579f8668816b35f8302e89e5255aff60b81938df (diff) | |
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>
Diffstat (limited to 'sunrpc')
| -rw-r--r-- | sunrpc/rpc_thread.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sunrpc/rpc_thread.c b/sunrpc/rpc_thread.c index a04b7ec47f..e20f0a6230 100644 --- a/sunrpc/rpc_thread.c +++ b/sunrpc/rpc_thread.c @@ -3,7 +3,6 @@ #include <assert.h> #include <libc-lock.h> -#include <libc-tsd.h> #include <shlib-compat.h> #include <libc-symbols.h> |
