X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fcompiler-gcc3.h;h=e5eb795f78a1c9b22f2c9c474b80c32a0cfff810;hb=18ce3751ccd488c78d3827e9f6bf54e6322676fb;hp=ecd621fd27d2415376ea1d123b353edfd2ee7843;hpb=972d45fb43f0f0793fa275c4a22998106760cd61;p=linux-2.6 diff --git a/include/linux/compiler-gcc3.h b/include/linux/compiler-gcc3.h index ecd621fd27..e5eb795f78 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