X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fcompiler-gcc3.h;h=e5eb795f78a1c9b22f2c9c474b80c32a0cfff810;hb=8731f14d37825b54ad0c4c309cba2bc8fdf13a86;hp=ecd621fd27d2415376ea1d123b353edfd2ee7843;hpb=334d0dd8b660557608142f0f77abc6812b48f08b;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