aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/internal.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-01-31 02:19:30 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-01-31 18:25:48 +0100
commit0374152f8926bb3d0f2cd9cca56d12521fe0f71b (patch)
treed0d65e4222b34952f3a4f153b3535bd0528a9321 /libavutil/internal.h
parenta735bbbb7a27fa89318d60b91558c3045b6b27c6 (diff)
downloadffmpeg-0374152f8926bb3d0f2cd9cca56d12521fe0f71b.tar.gz
Rename attribute_used to av_used and move it to attributes.h
This is consistent with most of the other attribute macros. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 365e3c7878e4e821d5dec922d2d51f92ce13f926)
Diffstat (limited to 'libavutil/internal.h')
-rw-r--r--libavutil/internal.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 748a823ac4..36d3e719f6 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -46,20 +46,6 @@
#endif
#endif
-
-/**
- * Mark a variable as used and prevent the compiler from optimizing it away.
- * This is useful for asm that accesses varibles in ways that the compiler does not
- * understand
- */
-#ifndef attribute_used
-#if AV_GCC_VERSION_AT_LEAST(3,1)
-# define attribute_used __attribute__((used))
-#else
-# define attribute_used
-#endif
-#endif
-
#ifndef INT16_MIN
#define INT16_MIN (-0x7fff - 1)
#endif