From 3a46e2d86b7eb627f9496c7726b08ead97de0a9e Mon Sep 17 00:00:00 2001 From: Mickael Savinaud Date: Wed, 3 Oct 2012 09:52:09 +0000 Subject: [PATCH] [trunk] correct warnings linked to static dwt functions because declaration is not hide when we use SSE --- src/lib/openjp2/dwt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/openjp2/dwt.c b/src/lib/openjp2/dwt.c index 94586eb5..3b750fe8 100644 --- a/src/lib/openjp2/dwt.c +++ b/src/lib/openjp2/dwt.c @@ -138,11 +138,13 @@ static void opj_v4dwt_interleave_v(v4dwt_t* restrict v , OPJ_FLOAT32* restrict a static void opj_v4dwt_decode_step1_sse(v4* w, OPJ_INT32 count, const __m128 c); static void opj_v4dwt_decode_step2_sse(v4* l, v4* w, OPJ_INT32 k, OPJ_INT32 m, __m128 c); -#endif +#else static void opj_v4dwt_decode_step1(v4* w, OPJ_INT32 count, const OPJ_FLOAT32 c); + static void opj_v4dwt_decode_step2(v4* l, v4* w, OPJ_INT32 k, OPJ_INT32 m, OPJ_FLOAT32 c); +#endif /*@}*/ -- 2.40.0