summaryrefslogtreecommitdiffstats
path: root/include/runetype.h
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2012-02-14 14:24:37 +0000
committertheraven <theraven@FreeBSD.org>2012-02-14 14:24:37 +0000
commit21ab7f5574b22af50aa84bb2c5f4944ba8152572 (patch)
treea389acef83de13625cd9b22d4ac1dfc213ccd72a /include/runetype.h
parenta89581c07f0ad3b2381b871ea3abe6875b4905a6 (diff)
downloadFreeBSD-src-21ab7f5574b22af50aa84bb2c5f4944ba8152572.zip
FreeBSD-src-21ab7f5574b22af50aa84bb2c5f4944ba8152572.tar.gz
Fix a misplaced __NO_TLS locations, and change a GNUism to a C11ism for
consistency. Approved by: brooks (mentor)
Diffstat (limited to 'include/runetype.h')
-rw-r--r--include/runetype.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/runetype.h b/include/runetype.h
index ac47db1..5aeea09 100644
--- a/include/runetype.h
+++ b/include/runetype.h
@@ -86,10 +86,10 @@ typedef struct {
__BEGIN_DECLS
extern const _RuneLocale _DefaultRuneLocale;
extern const _RuneLocale *_CurrentRuneLocale;
-extern const _Thread_local _RuneLocale *_ThreadRuneLocale;
#if defined(__NO_TLS) || defined(__RUNETYPE_INTERNAL)
extern const _RuneLocale *__getCurrentRuneLocale(void);
#else
+extern const _Thread_local _RuneLocale *_ThreadRuneLocale;
static inline const _RuneLocale *__getCurrentRuneLocale(void)
{
OpenPOWER on IntegriCloud