summaryrefslogtreecommitdiff
path: root/libavutil/internal.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-01-31 02:19:30 +0000
committerMans Rullgard <mans@mansr.com>2011-01-31 16:01:26 +0000
commit365e3c7878e4e821d5dec922d2d51f92ce13f926 (patch)
tree6fd2773fbe7ae4efa898a8ab2af9ba01b5779d36 /libavutil/internal.h
parent445996aa51f4f1d9a26456a8511988291a720ba0 (diff)
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>
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