From 3cba09e5228c889d63814dc43bc68f15c9dbac77 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 30 Oct 2015 14:04:08 +0100 Subject: [PATCH] x86: Drop stray semicolons after function definitions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit libavcodec/x86/rv40dsp_init.c:97:2: warning: ISO C does not allow extra ‘;’ outside of a function [-Wpedantic] libavcodec/x86/vp9dsp_init.c:94:40: warning: ISO C does not allow extra ‘;’ outside of a function [-Wpedantic] --- libavcodec/x86/rv40dsp_init.c | 2 +- libavcodec/x86/vp9dsp_init.c | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/libavcodec/x86/rv40dsp_init.c b/libavcodec/x86/rv40dsp_init.c index 7bf3ecd1f3..f6d4165452 100644 --- a/libavcodec/x86/rv40dsp_init.c +++ b/libavcodec/x86/rv40dsp_init.c @@ -94,7 +94,7 @@ static void OP ## rv40_qpel ##SIZE ##_mc ##PH ##PV ##OPT(uint8_t *dst, \ ff_ ##OP ##rv40_qpel_h ## OPT(dst + i, stride, src + i, \ stride, SIZE, HCOFF(PH)); \ } \ -}; +} /** Declare functions for sizes 8 and 16 and given operations * and qpel position. */ diff --git a/libavcodec/x86/vp9dsp_init.c b/libavcodec/x86/vp9dsp_init.c index 58aedcbd2d..59cde79d89 100644 --- a/libavcodec/x86/vp9dsp_init.c +++ b/libavcodec/x86/vp9dsp_init.c @@ -100,21 +100,21 @@ ff_vp9_ ## avg ## _8tap_1d_ ## dir ## _ ## sz ## _ ## opt(uint8_t *dst, \ } #define mc_rep_funcs(sz, hsz, opt, type, f_sz) \ - mc_rep_func(put, sz, hsz, h, opt, type, f_sz); \ - mc_rep_func(avg, sz, hsz, h, opt, type, f_sz); \ - mc_rep_func(put, sz, hsz, v, opt, type, f_sz); \ + mc_rep_func(put, sz, hsz, h, opt, type, f_sz) \ + mc_rep_func(avg, sz, hsz, h, opt, type, f_sz) \ + mc_rep_func(put, sz, hsz, v, opt, type, f_sz) \ mc_rep_func(avg, sz, hsz, v, opt, type, f_sz) -mc_rep_funcs(16, 8, sse2, int16_t, 8); +mc_rep_funcs(16, 8, sse2, int16_t, 8) #if ARCH_X86_32 -mc_rep_funcs(16, 8, ssse3, int8_t, 32); +mc_rep_funcs(16, 8, ssse3, int8_t, 32) #endif -mc_rep_funcs(32, 16, sse2, int16_t, 8); -mc_rep_funcs(32, 16, ssse3, int8_t, 32); -mc_rep_funcs(64, 32, sse2, int16_t, 8); -mc_rep_funcs(64, 32, ssse3, int8_t, 32); +mc_rep_funcs(32, 16, sse2, int16_t, 8) +mc_rep_funcs(32, 16, ssse3, int8_t, 32) +mc_rep_funcs(64, 32, sse2, int16_t, 8) +mc_rep_funcs(64, 32, ssse3, int8_t, 32) #if ARCH_X86_64 && HAVE_AVX2_EXTERNAL -mc_rep_funcs(64, 32, avx2, int8_t, 32); +mc_rep_funcs(64, 32, avx2, int8_t, 32) #endif #undef mc_rep_funcs