diff i386/dsputil_mmx.c @ 4172:608e2dfcb86e libavcodec

adding more static keywords
author mru
date Sun, 12 Nov 2006 03:34:12 +0000
parents d011a097bb85
children fbac0859753d
line wrap: on
line diff
--- a/i386/dsputil_mmx.c	Sun Nov 12 01:08:05 2006 +0000
+++ b/i386/dsputil_mmx.c	Sun Nov 12 03:34:12 2006 +0000
@@ -2667,7 +2667,7 @@
 #endif /* CONFIG_ENCODERS */
 
 #define PREFETCH(name, op) \
-void name(void *mem, int stride, int h){\
+static void name(void *mem, int stride, int h){\
     const uint8_t *p= mem;\
     do{\
         asm volatile(#op" %0" :: "m"(*p));\
@@ -3007,7 +3007,7 @@
         ff_vector_fmul_add_add_c(dst, src0, src1, src2, src3, len, step);
 }
 
-void float_to_int16_3dnow(int16_t *dst, const float *src, int len){
+static void float_to_int16_3dnow(int16_t *dst, const float *src, int len){
     // not bit-exact: pf2id uses different rounding than C and SSE
     int i;
     for(i=0; i<len; i+=4) {
@@ -3022,7 +3022,7 @@
     }
     asm volatile("femms");
 }
-void float_to_int16_sse(int16_t *dst, const float *src, int len){
+static void float_to_int16_sse(int16_t *dst, const float *src, int len){
     int i;
     for(i=0; i<len; i+=4) {
         asm volatile(