X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fcompiler-gcc3.h;h=e5eb795f78a1c9b22f2c9c474b80c32a0cfff810;hb=4d672e7ac79b5ec5cdc90e450823441e20464691;hp=ecd621fd27d2415376ea1d123b353edfd2ee7843;hpb=805f53f085346b6765eda02820721a14ce0d644f;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/compiler-gcc3.h b/include/linux/compiler-gcc3.h index ecd621fd27d..e5eb795f78a 100644 --- a/include/linux/compiler-gcc3.h +++ b/include/linux/compiler-gcc3.h @@ -1,12 +1,14 @@ -/* Never include this file directly. Include instead. */ +#ifndef __LINUX_COMPILER_H +#error "Please don't include directly, include instead." +#endif /* These definitions are for GCC v3.x. */ #include #if __GNUC_MINOR__ >= 3 -# define __attribute_used__ __attribute__((__used__)) +# define __used __attribute__((__used__)) #else -# define __attribute_used__ __attribute__((__unused__)) +# define __used __attribute__((__unused__)) #endif #if __GNUC_MINOR__ >= 4