aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2025-05-16 19:53:09 +0200
committerFlorian Weimer <fweimer@redhat.com>2025-05-16 19:53:09 +0200
commit10a66a8e421b09682b774c795ef1da402235dddc (patch)
treeab533cd7616e52914c29ab9a9ce03aab1e891ff4 /stdio-common
parent579f8668816b35f8302e89e5255aff60b81938df (diff)
downloadglibc-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.c1
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>