mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
yadif: Fix compiler warning caused by specifying const twice
yadif.c:49:24: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] DECLARE_ASM_CONST (16, const xmm_reg, pb_1) = { ^ yadif.c:33:50: note: expanded from macro 'DECLARE_ASM_CONST' #define DECLARE_ASM_CONST(n,t,v) static const t __attribute__((used)) __attribute__ ((aligned (n))) v ^ yadif.c:52:24: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] DECLARE_ASM_CONST (16, const xmm_reg, pw_1) = { ^ yadif.c:33:50: note: expanded from macro 'DECLARE_ASM_CONST' #define DECLARE_ASM_CONST(n,t,v) static const t __attribute__((used)) __attribute__ ((aligned (n)))
This commit is contained in:
parent
411cf48db7
commit
010fd8a471
1 changed files with 2 additions and 2 deletions
|
@ -46,10 +46,10 @@ typedef gint64 x86_reg;
|
|||
|
||||
#define MANGLE(a) EXTERN_PREFIX LOCAL_MANGLE(a)
|
||||
|
||||
DECLARE_ASM_CONST (16, const xmm_reg, pb_1) = {
|
||||
DECLARE_ASM_CONST (16, xmm_reg, pb_1) = {
|
||||
0x0101010101010101ULL, 0x0101010101010101ULL};
|
||||
|
||||
DECLARE_ASM_CONST (16, const xmm_reg, pw_1) = {
|
||||
DECLARE_ASM_CONST (16, xmm_reg, pw_1) = {
|
||||
0x0001000100010001ULL, 0x0001000100010001ULL};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue