Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / include / linux / compiler-gcc3.h
index 265dad4..1698b84 100644 (file)
@@ -3,25 +3,14 @@
 /* These definitions are for GCC v3.x.  */
 #include <linux/compiler-gcc.h>
 
-#if __GNUC_MINOR__ >= 1  && __GNUC_MINOR__ < 4
-# define inline                __inline__ __attribute__((always_inline))
-# define __inline__    __inline__ __attribute__((always_inline))
-# define __inline      __inline__ __attribute__((always_inline))
-#endif
-
-#if __GNUC_MINOR__ > 0
-# define __deprecated  __attribute__((deprecated))
-#endif
-
 #if __GNUC_MINOR__ >= 3
 # define __attribute_used__    __attribute__((__used__))
 #else
 # define __attribute_used__    __attribute__((__unused__))
 #endif
 
-#define __attribute_pure__     __attribute__((pure))
-#define __attribute_const__    __attribute__((__const__))
-
-#if __GNUC_MINOR__ >= 1
-#define  noinline __attribute__((noinline))
+#if __GNUC_MINOR__ >= 4
+#define __must_check           __attribute__((warn_unused_result))
 #endif
+
+#define __always_inline                inline __attribute__((always_inline))