From 1e8b819b4579d85654d46df2c16f3a58e9b6b878 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 15 Feb 2006 20:41:06 +0000 Subject: Disable __unused It conflicts with a struct member in a Linux header. --- include/bsd/cdefs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/bsd') diff --git a/include/bsd/cdefs.h b/include/bsd/cdefs.h index a23e15e..d976da9 100644 --- a/include/bsd/cdefs.h +++ b/include/bsd/cdefs.h @@ -11,6 +11,9 @@ # define __dead2 #endif +/* Linux headers define a struct with a member names __unused. + * Disable for now. */ +#if 0 #ifndef __unused # ifdef __GNUC__ # define __unused __attribute__((unused)) @@ -18,6 +21,7 @@ # define __unused # endif #endif +#endif #ifndef __printflike # ifdef __GNUC__ -- cgit v1.2.3