diff common.h @ 154:b94a48efd763 libavutil

move some __attribute__ macros to internal.h
author mru
date Wed, 06 Dec 2006 21:27:08 +0000
parents 37eadd4352e9
children 5d849a1c0d4d
line wrap: on
line diff
--- a/common.h	Wed Dec 06 20:31:39 2006 +0000
+++ b/common.h	Wed Dec 06 21:27:08 2006 +0000
@@ -47,30 +47,6 @@
 #    include <math.h>
 #endif /* HAVE_AV_CONFIG_H */
 
-#ifndef always_inline
-#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
-#    define always_inline __attribute__((always_inline)) inline
-#else
-#    define always_inline inline
-#endif
-#endif
-
-#ifndef attribute_used
-#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
-#    define attribute_used __attribute__((used))
-#else
-#    define attribute_used
-#endif
-#endif
-
-#ifndef attribute_unused
-#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
-#    define attribute_unused __attribute__((unused))
-#else
-#    define attribute_unused
-#endif
-#endif
-
 #ifndef attribute_deprecated
 #if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
 #    define attribute_deprecated __attribute__((deprecated))