summaryrefslogtreecommitdiff
path: root/libavutil/mem.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/mem.h
parenta735bbbb7a27fa89318d60b91558c3045b6b27c6 (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> (cherry picked from commit 365e3c7878e4e821d5dec922d2d51f92ce13f926)
Diffstat (limited to 'libavutil/mem.h')
-rw-r--r--libavutil/mem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/mem.h b/libavutil/mem.h
index ab73a3238d..33ab48f895 100644
--- a/libavutil/mem.h
+++ b/libavutil/mem.h
@@ -41,7 +41,7 @@
static const t __attribute__((aligned(n))) v
#elif defined(__GNUC__)
#define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (n))) v
- #define DECLARE_ASM_CONST(n,t,v) static const t attribute_used __attribute__ ((aligned (n))) v
+ #define DECLARE_ASM_CONST(n,t,v) static const t av_used __attribute__ ((aligned (n))) v
#elif defined(_MSC_VER)
#define DECLARE_ALIGNED(n,t,v) __declspec(align(n)) t v
#define DECLARE_ASM_CONST(n,t,v) __declspec(align(n)) static const t v