diff options
author | 2018-10-05 13:35:41 +0000 | |
---|---|---|
committer | 2018-10-05 13:35:41 +0000 | |
commit | 43061ee648182ca34d547bf524a5ae44291f430d (patch) | |
tree | f241960e0220caf21610c85a9b753596f633c0ae | |
parent | Setting getopt optreset to 1 needs an additional reset of optind to 1. (diff) | |
download | wireguard-openbsd-43061ee648182ca34d547bf524a5ae44291f430d.tar.xz wireguard-openbsd-43061ee648182ca34d547bf524a5ae44291f430d.zip |
Garbage-collect the now unused __statement() macro.
The sys/arch/*/include/endian.h headers were the only place in the
whole source tree that used __statement(), and they did so to mark
statement expressions, which are a GNU extension. This usage will
not come back.
ok deraadt@
-rw-r--r-- | sys/sys/cdefs.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h index 8c0e7fbe6c0..54872b67337 100644 --- a/sys/sys/cdefs.h +++ b/sys/sys/cdefs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cdefs.h,v 1.41 2017/04/14 07:22:02 kettenis Exp $ */ +/* $OpenBSD: cdefs.h,v 1.42 2018/10/05 13:35:41 naddy Exp $ */ /* $NetBSD: cdefs.h,v 1.16 1996/04/03 20:46:39 christos Exp $ */ /* @@ -223,12 +223,6 @@ #define __extension__ #endif -#if __GNUC_PREREQ__(2, 8) || defined(__PCC__) -#define __statement(x) __extension__(x) -#else -#define __statement(x) (x) -#endif - #if __GNUC_PREREQ__(3, 0) #define __malloc __attribute__((__malloc__)) #else |