summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2025-11-22 02:25:26 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-11-22 03:27:40 +0100
commit604bdb0f8e9c0873b5420ec4429bd1dc40a41860 (patch)
tree5679f56811159583098c15a3763f895fd1a9883a /include
parentaa6066087f5a4d709ff148591d4a58564e2b09bf (diff)
htl: Also use __libc_thread_freeres to clean TLS state
Diffstat (limited to 'include')
-rw-r--r--include/libc-internal.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h
index 91ff0de1d7..e9f7bec5bf 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -35,11 +35,7 @@ extern void __libc_freeres (void);
libc_hidden_proto (__libc_freeres)
/* Free resources stored in thread-local variables on thread exit. */
-extern void __libc_thread_freeres (void)
-#if PTHREAD_IN_LIBC
- attribute_hidden
-#endif
- ;
+extern void __libc_thread_freeres (void) attribute_hidden;
/* Define and initialize `__progname' et. al. */
extern void __init_misc (int, char **, char **) attribute_hidden;