aboutsummaryrefslogtreecommitdiffstats
path: root/include/runetype.h
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2012-02-14 14:24:37 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2012-02-14 14:24:37 +0000
commit7780c181c514720c1a99bcae909cc17d546c443f (patch)
treea389acef83de13625cd9b22d4ac1dfc213ccd72a /include/runetype.h
parent265f940acc44916144e8b0485a5504ef88d279c9 (diff)
downloadsrc-7780c181c514720c1a99bcae909cc17d546c443f.tar.gz
src-7780c181c514720c1a99bcae909cc17d546c443f.zip
Fix a misplaced __NO_TLS locations, and change a GNUism to a C11ism for
consistency. Approved by: brooks (mentor)
Notes
Notes: svn path=/head/; revision=231682
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 ac47db107abe..5aeea093ca13 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)
{