aboutsummaryrefslogtreecommitdiff
path: root/lib/libgssapi
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-02-19 15:20:29 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-02-23 18:08:10 +0000
commit3ae8d83d04a7a6ec11b64c89ee60c180b0bde30e (patch)
tree1a15235e0cb2ab23ca1bf4a44ad9b994a4fee8b1 /lib/libgssapi
parentf695e960672ddc45744aca085c1e22c80928f447 (diff)
downloadsrc-3ae8d83d04a7a6ec11b64c89ee60c180b0bde30e.tar.gz
src-3ae8d83d04a7a6ec11b64c89ee60c180b0bde30e.zip
Remove __NO_TLS.
All supported platforms support thread-local vars and __thread. Reviewed by: emaste Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D28796
Diffstat (limited to 'lib/libgssapi')
-rw-r--r--lib/libgssapi/gss_display_status.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/libgssapi/gss_display_status.c b/lib/libgssapi/gss_display_status.c
index 55ca83ce9aa8..d0c3453a0d6b 100644
--- a/lib/libgssapi/gss_display_status.c
+++ b/lib/libgssapi/gss_display_status.c
@@ -174,16 +174,6 @@ supplementary_error(OM_uint32 v)
return msgs[v];
}
-#if defined(__NO_TLS)
-
-/*
- * These platforms don't support TLS on FreeBSD - threads will just
- * have to step on each other's error values for now.
- */
-#define __thread
-
-#endif
-
struct mg_thread_ctx {
gss_OID mech;
OM_uint32 maj_stat;