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 /stdio-common | |
parent | 579f8668816b35f8302e89e5255aff60b81938df (diff) | |
download | glibc-10a66a8e421b09682b774c795ef1da402235dddc.zip glibc-10a66a8e421b09682b774c795ef1da402235dddc.tar.gz glibc-10a66a8e421b09682b774c795ef1da402235dddc.tar.bz2 |
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 'stdio-common')
-rw-r--r-- | stdio-common/printf-parsemb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stdio-common/printf-parsemb.c b/stdio-common/printf-parsemb.c index aad697a..a7ba52a 100644 --- a/stdio-common/printf-parsemb.c +++ b/stdio-common/printf-parsemb.c @@ -17,6 +17,7 @@ <https://www.gnu.org/licenses/>. */ #include <ctype.h> +#include <errno.h> #include <limits.h> #include <stdlib.h> #include <string.h> |