summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2007-09-18 19:55:16 +0000
committerotto <otto@openbsd.org>2007-09-18 19:55:16 +0000
commitef0ff6aa564f2005bb327ad04e3c456336435c3a (patch)
treef0220754a29581dffb7cab4833c04b3894f87c36
parentDo not return from uts_intr() without restoring spl if it has been changed, (diff)
downloadwireguard-openbsd-ef0ff6aa564f2005bb327ad04e3c456336435c3a.tar.xz
wireguard-openbsd-ef0ff6aa564f2005bb327ad04e3c456336435c3a.zip
pcc knows inline. ok kjell@ miod@
-rw-r--r--sys/sys/cdefs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index e925f45241f..b9b09760aa9 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cdefs.h,v 1.25 2007/06/26 10:30:05 tom Exp $ */
+/* $OpenBSD: cdefs.h,v 1.26 2007/09/18 19:55:16 otto Exp $ */
/* $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ */
/*
@@ -73,7 +73,7 @@
#define __const const /* define reserved names to standard */
#define __signed signed
#define __volatile volatile
-#if defined(__cplusplus)
+#if defined(__cplusplus) || defined(__PCC__)
#define __inline inline /* convert to C++ keyword */
#else
#if !defined(__GNUC__) && !defined(lint)