yadif: Fix compiler warning caused by specifying const twice
authorSebastian Dröge <sebastian@centricular.com>
Fri, 1 Nov 2013 09:41:16 +0000 (10:41 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 1 Nov 2013 09:41:16 +0000 (10:41 +0100)
commit010fd8a471bc60ea1490d43bc6d32d5dcc77c18d
treedc242703fc0f525d89d396c0a0f82493b6d0a33c
parent411cf48db7a2eeaf3c22ef8d47ddc1781e7ede6d
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)))
gst/yadif/yadif.c