tsimpler USED - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 15085f74502fa7029f59540b228bb8392db9743c (DIR) parent dd6c037b72b0988ed9d55fd89af30b10ca9999ea (HTM) Author: rsc <devnull@localhost> Date: Mon, 26 Jun 2006 00:02:52 +0000 simpler USED Diffstat: M include/libc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/include/libc.h b/include/libc.h t@@ -901,7 +901,7 @@ extern int post9pservice(int, char*); #ifdef __GNUC__ # if __GNUC__ >= 3 # undef USED -# define USED(x) { ulong __y __attribute__ ((unused)); __y = (ulong)(x); } +# define USED(x) ((void)(x)) # endif #endif