tsimpler USED - plan9port - [fork] Plan 9 from user space | |
git clone git://src.adamsgaard.dk/plan9port | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 15085f74502fa7029f59540b228bb8392db9743c | |
parent dd6c037b72b0988ed9d55fd89af30b10ca9999ea | |
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(-) | |
--- | |
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 = (u… | |
+# define USED(x) ((void)(x)) | |
# endif | |
#endif | |