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.

With this single consumer gone, we can garbage-collect the __statement()
macro itself.  I don't think this usage will come back.

OK?

Index: sys/sys/cdefs.h
===================================================================
RCS file: /cvs/src/sys/sys/cdefs.h,v
retrieving revision 1.41
diff -u -p -r1.41 cdefs.h
--- sys/sys/cdefs.h     14 Apr 2017 07:22:02 -0000      1.41
+++ sys/sys/cdefs.h     2 Oct 2018 20:54:53 -0000
@@ -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
-- 
Christian "naddy" Weisgerber                          [email protected]

Reply via email to