From 0802e6a28d377c3092efe44fbc8a943e5713b68f Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Thu, 19 Jan 2012 16:55:17 +0000 Subject: [PATCH] evas_blend_ops: Fix gcc complains about static used in non static inline functions. Make the functions static as well to avoid gcc warnings like this: warning: 'ALPHA_SSE3' is static but used in inline function 'sub4_alpha_sse3' which is not static Signed-off-by: Stefan Schmidt SVN revision: 67355 --- legacy/evas/src/lib/include/evas_blend_ops.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/legacy/evas/src/lib/include/evas_blend_ops.h b/legacy/evas/src/lib/include/evas_blend_ops.h index 1ada3848d2..6bd1f165ed 100644 --- a/legacy/evas/src/lib/include/evas_blend_ops.h +++ b/legacy/evas/src/lib/include/evas_blend_ops.h @@ -200,7 +200,7 @@ static __m128i RGB_MASK_SSE3; static __m128i ALPHA_SSE3; -EFL_ALWAYS_INLINE __m128i +static EFL_ALWAYS_INLINE __m128i mul_256_sse3(__m128i a, __m128i c) { /* prepare alpha for word multiplication */ @@ -228,7 +228,7 @@ mul_256_sse3(__m128i a, __m128i c) { return _mm_add_epi32(c0, c1); } -EFL_ALWAYS_INLINE __m128i +static EFL_ALWAYS_INLINE __m128i sub4_alpha_sse3(__m128i c) { __m128i c0 = c; @@ -237,7 +237,7 @@ sub4_alpha_sse3(__m128i c) { return _mm_sub_epi32(ALPHA_SSE3, c0); } -EFL_ALWAYS_INLINE __m128i +static EFL_ALWAYS_INLINE __m128i interp4_256_sse3(__m128i a, __m128i c0, __m128i c1) { const __m128i zero = _mm_setzero_si128(); @@ -289,7 +289,7 @@ interp4_256_sse3(__m128i a, __m128i c0, __m128i c1) return (__m128i) _mm_shuffle_ps( (__m128)cl_sub, (__m128)ch_sub, 0x44); } -EFL_ALWAYS_INLINE __m128i +static EFL_ALWAYS_INLINE __m128i mul_sym_sse3(__m128i a, __m128i c) { /* Prepare alpha for word mult */ @@ -318,7 +318,7 @@ mul_sym_sse3(__m128i a, __m128i c) { return _mm_add_epi32(c0, c1); } -EFL_ALWAYS_INLINE __m128i +static EFL_ALWAYS_INLINE __m128i mul4_sym_sse3(__m128i x, __m128i y) { const __m128i zero = _mm_setzero_si128(); @@ -341,7 +341,7 @@ mul4_sym_sse3(__m128i x, __m128i y) { return _mm_packus_epi16(r_l, r_h); } -EFL_ALWAYS_INLINE __m128i +static EFL_ALWAYS_INLINE __m128i mul3_sym_sse3(__m128i x, __m128i y) { __m128i res = mul4_sym_sse3(x, y);