]> granicus.if.org Git - openjpeg/commitdiff
[trunk] correct warnings linked to static dwt functions because declaration is not...
authorMickael Savinaud <savmickael@users.noreply.github.com>
Wed, 3 Oct 2012 09:52:09 +0000 (09:52 +0000)
committerMickael Savinaud <savmickael@users.noreply.github.com>
Wed, 3 Oct 2012 09:52:09 +0000 (09:52 +0000)
src/lib/openjp2/dwt.c

index 94586eb53046d304693f8c2e0b413d4bee851528..3b750fe86af77aae97e4382ed8c8b6a620921a8b 100644 (file)
@@ -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
 
 /*@}*/