summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravsm <avsm@openbsd.org>2004-04-02 22:37:12 +0000
committeravsm <avsm@openbsd.org>2004-04-02 22:37:12 +0000
commitedfd6a1121e291e47977fb0ed3367415eab9ba0f (patch)
treeec57bf4f3e12b2f551314f0391fc14d0436c0e00
parentmention powernow (diff)
downloadwireguard-openbsd-edfd6a1121e291e47977fb0ed3367415eab9ba0f.tar.xz
wireguard-openbsd-edfd6a1121e291e47977fb0ed3367415eab9ba0f.zip
fix non-gnu ansi compilers by not using 'inline' but '__inline' instead.
lets tendra build again. ok deraadt@, pvalchev@, millert@
-rw-r--r--include/ctype.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ctype.h b/include/ctype.h
index 5814c2813e4..753c68a7de9 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ctype.h,v 1.16 2004/01/15 20:01:27 millert Exp $ */
+/* $OpenBSD: ctype.h,v 1.17 2004/04/02 22:37:12 avsm Exp $ */
/* $NetBSD: ctype.h,v 1.14 1994/10/26 00:55:47 cgd Exp $ */
/*
@@ -60,7 +60,7 @@ extern const short *_toupper_tab_;
#ifdef __GNUC__
#define __CTYPE_INLINE extern __inline
#else
-#define __CTYPE_INLINE static inline
+#define __CTYPE_INLINE static __inline
#endif
#if defined(__GNUC__) || defined(_ANSI_LIBRARY) || defined(lint)