summaryrefslogtreecommitdiff
path: root/lib/libc/locale
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-08-29 02:58:14 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-08-29 02:58:14 +0000
commit209e6f81de6ea3eb825178e9ab0d853ace9b4fe4 (patch)
tree39557a0a8b1c511b83377c548b8367be1ea9fb3c /lib/libc/locale
parentf8187a6eb66878b0b0b80568b5d8df62b948285d (diff)
static inline, not inline static
c99 6.11.5: "The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature." ok guenther@
Diffstat (limited to 'lib/libc/locale')
-rw-r--r--lib/libc/locale/wctoint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/locale/wctoint.h b/lib/libc/locale/wctoint.h
index ea50c5ae1b6..6fb50a119d4 100644
--- a/lib/libc/locale/wctoint.h
+++ b/lib/libc/locale/wctoint.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wctoint.h,v 1.2 2015/09/13 11:38:08 guenther Exp $ */
+/* $OpenBSD: wctoint.h,v 1.3 2022/08/29 02:58:13 jsg Exp $ */
/* $NetBSD: __wctoint.h,v 1.1 2001/09/28 11:25:37 yamt Exp $ */
/*-
@@ -30,7 +30,7 @@
*/
-inline static int
+static inline int
wctoint(wchar_t wc)
{
int n;