compiler-gcc3.h 456 B

12345678910111213141516
  1. /* Never include this file directly. Include <linux/compiler.h> instead. */
  2. /* These definitions are for GCC v3.x. */
  3. #include <linux/compiler-gcc.h>
  4. #if __GNUC_MINOR__ >= 3
  5. # define __attribute_used__ __attribute__((__used__))
  6. #else
  7. # define __attribute_used__ __attribute__((__unused__))
  8. #endif
  9. #if __GNUC_MINOR__ >= 4
  10. #define __must_check __attribute__((warn_unused_result))
  11. #endif
  12. #define __always_inline inline __attribute__((always_inline))