aboutsummaryrefslogtreecommitdiff
path: root/include/libc.h
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-06-26 00:02:52 +0000
committerrsc <devnull@localhost>2006-06-26 00:02:52 +0000
commit15085f74502fa7029f59540b228bb8392db9743c (patch)
tree698f881570a80b2f2f6cfc6cdee0f4961a454b76 /include/libc.h
parentdd6c037b72b0988ed9d55fd89af30b10ca9999ea (diff)
downloadplan9port-15085f74502fa7029f59540b228bb8392db9743c.tar.gz
plan9port-15085f74502fa7029f59540b228bb8392db9743c.tar.bz2
plan9port-15085f74502fa7029f59540b228bb8392db9743c.zip
simpler USED
Diffstat (limited to 'include/libc.h')
-rw-r--r--include/libc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libc.h b/include/libc.h
index 13d1c947..96b3f0c2 100644
--- a/include/libc.h
+++ b/include/libc.h
@@ -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