aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2012-06-06 21:16:26 +0000
committerDimitry Andric <dim@FreeBSD.org>2012-06-06 21:16:26 +0000
commitf61ac9d9bd906891feadcabecfe2b92d9e3e97a4 (patch)
treedc6405b6650180193b1027284bd14354f728f9a2 /lib/libc/include
parent6c9707c3b2d7d3a80890737c6e740adf8a603506 (diff)
Notes
Diffstat (limited to 'lib/libc/include')
-rw-r--r--lib/libc/include/port_before.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/include/port_before.h b/lib/libc/include/port_before.h
index beef71d02607b..304dd66df03fc 100644
--- a/lib/libc/include/port_before.h
+++ b/lib/libc/include/port_before.h
@@ -17,6 +17,6 @@
var = _u.v; \
} while (0)
-#define UNUSED(x) (x) = (x)
+#define UNUSED(x) (void)(x)
#endif /* _PORT_BEFORE_H_ */