compiler-gcc4.h 700 B

12345678910111213141516
  1. /* Never include this file directly. Include <linux/compiler.h> instead. */
  2. /* These definitions are for GCC v4.x. */
  3. #include <linux/compiler-gcc.h>
  4. #define inline inline __attribute__((always_inline))
  5. #define __inline__ __inline__ __attribute__((always_inline))
  6. #define __inline __inline __attribute__((always_inline))
  7. #define __deprecated __attribute__((deprecated))
  8. #define __attribute_used__ __attribute__((__used__))
  9. #define __attribute_pure__ __attribute__((pure))
  10. #define __attribute_const__ __attribute__((__const__))
  11. #define noinline __attribute__((noinline))
  12. #define __must_check __attribute__((warn_unused_result))
  13. #define __compiler_offsetof(a,b) __builtin_offsetof(a,b)