diff options
author | 2014-03-19 05:11:06 +0000 | |
---|---|---|
committer | 2014-03-19 05:11:06 +0000 | |
commit | dc0694cb30c0649d1e3845c65583c1d4dff9fe72 (patch) | |
tree | f06374ae3f7b162963b15ddb14d20ec431f4f205 | |
parent | Pull in FreeBSD r37363 and r37887: (diff) | |
download | wireguard-openbsd-dc0694cb30c0649d1e3845c65583c1d4dff9fe72.tar.xz wireguard-openbsd-dc0694cb30c0649d1e3845c65583c1d4dff9fe72.zip |
It's been a quarter century: pre-ANSI C is dead
-rw-r--r-- | sys/sys/cdefs.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index 136035c7c6d..b7d7efef13c 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cdefs.h,v 1.37 2014/03/15 21:59:56 djm Exp $ */ +/* $OpenBSD: cdefs.h,v 1.38 2014/03/19 05:11:06 guenther Exp $ */ /* $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ */ /* @@ -85,19 +85,6 @@ #define __signed #define __volatile #endif /* !__GNUC__ */ - -/* - * In non-ANSI C environments, new programs will want ANSI-only C keywords - * deleted from the program and old programs will want them left alone. - * Programs using the ANSI C keywords const, inline etc. as normal - * identifiers should define -DNO_ANSI_KEYWORDS. - */ -#ifndef NO_ANSI_KEYWORDS -#define const __const /* convert ANSI C keywords */ -#define inline __inline -#define signed __signed -#define volatile __volatile -#endif /* !NO_ANSI_KEYWORDS */ #endif /* !(__STDC__ || __cplusplus) */ /* |