summaryrefslogtreecommitdiff
path: root/tests/videogen.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/videogen.c')
-rw-r--r--tests/videogen.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/videogen.c b/tests/videogen.c
index 1aad70031e..14996da7a4 100644
--- a/tests/videogen.c
+++ b/tests/videogen.c
@@ -137,8 +137,8 @@ static void pgmyuv_save(const char *filename, int w, int h,
free(cr_tab);
}
-unsigned char *rgb_tab;
-int width, height, wrap;
+static unsigned char *rgb_tab;
+static int width, height, wrap;
static void put_pixel(int x, int y, int r, int g, int b)
{
@@ -200,9 +200,9 @@ typedef struct VObj {
int r, g, b;
} VObj;
-VObj objs[NB_OBJS];
+static VObj objs[NB_OBJS];
-unsigned int seed = 1;
+static unsigned int seed = 1;
static void gen_image(int num, int w, int h)
{