]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavcodec/motion-test.c
Mark non-exported functions in test and example programs as static.
[frescor/ffmpeg.git] / libavcodec / motion-test.c
index 90f0a2e1bc37aea50201fbf0d834bdce0897c3ba..fb21ee974bf210e3dde83bb994d1d04cdb993d18 100644 (file)
@@ -41,7 +41,7 @@
 uint8_t img1[WIDTH * HEIGHT];
 uint8_t img2[WIDTH * HEIGHT];
 
-void fill_random(uint8_t *tab, int size)
+static void fill_random(uint8_t *tab, int size)
 {
     int i;
     AVLFG prn;
@@ -56,14 +56,14 @@ void fill_random(uint8_t *tab, int size)
     }
 }
 
-void help(void)
+static void help(void)
 {
     printf("motion-test [-h]\n"
            "test motion implementations\n");
     exit(1);
 }
 
-int64_t gettime(void)
+static int64_t gettime(void)
 {
     struct timeval tv;
     gettimeofday(&tv,NULL);
@@ -74,7 +74,7 @@ int64_t gettime(void)
 
 int dummy;
 
-void test_motion(const char *name,
+static void test_motion(const char *name,
                  me_cmp_func test_func, me_cmp_func ref_func)
 {
     int x, y, d1, d2, it;