diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2018-10-05 13:35:42 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2018-10-05 13:35:42 +0000 |
commit | 786d0c92242a8405f58763f9c8b1de5c194a8520 (patch) | |
tree | 4645a5275cef92aeb19d056a5d3e564d2a47c96a /sys | |
parent | 6b8c56fe37ffe2eeb4dee7545341043662dbed1c (diff) |
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@
Diffstat (limited to 'sys')
-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 |