aboutsummaryrefslogtreecommitdiffstats
path: root/include/runetype.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2012-03-06 20:15:23 +0000
committerDimitry Andric <dim@FreeBSD.org>2012-03-06 20:15:23 +0000
commitb1e45245d102463578a0219cd7cc24c6bf4e4fde (patch)
treea81617b9ac3d53e27933e55119708bd24d768851 /include/runetype.h
parent9c170fd1689fa8dcc514acb46840699eff751c67 (diff)
downloadsrc-b1e45245d102463578a0219cd7cc24c6bf4e4fde.tar.gz
src-b1e45245d102463578a0219cd7cc24c6bf4e4fde.zip
After r232498, programs built with -ansi or -std=c89 including <ctype.h>
would not compile anymore, due to plain 'inline' keywords. Fix this by using __inline instead. Reported by: Jia-Shiun Li <jiashiun@gmail.com> Discussed with: theraven
Notes
Notes: svn path=/head/; revision=232620
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 972242a6016f..6aad915b5604 100644
--- a/include/runetype.h
+++ b/include/runetype.h
@@ -90,7 +90,7 @@ extern const _RuneLocale *_CurrentRuneLocale;
extern const _RuneLocale *__getCurrentRuneLocale(void);
#else
extern _Thread_local const _RuneLocale *_ThreadRuneLocale;
-static inline const _RuneLocale *__getCurrentRuneLocale(void)
+static __inline const _RuneLocale *__getCurrentRuneLocale(void)
{
if (_ThreadRuneLocale)