summaryrefslogtreecommitdiff
path: root/tests/rotozoom.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-04-30 16:29:26 +0200
committerDiego Biurrun <diego@biurrun.de>2012-05-05 16:32:57 +0200
commit814208a7a697274994ee3eeb0da225c0fda6d1c7 (patch)
tree04b247615348039c2ee0fcff478242c39670a2a5 /tests/rotozoom.c
parentb5a3c6038d559582236b4faf6dbbc0f1984d4107 (diff)
tests: Mark some file-internal symbols as static.
Diffstat (limited to 'tests/rotozoom.c')
-rw-r--r--tests/rotozoom.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/rotozoom.c b/tests/rotozoom.c
index 9ce45cd9f4..9bba6e3489 100644
--- a/tests/rotozoom.c
+++ b/tests/rotozoom.c
@@ -160,8 +160,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)
{
@@ -177,12 +177,12 @@ static void put_pixel(int x, int y, int r, int g, int b)
p[2] = b;
}
-unsigned char tab_r[256 * 256];
-unsigned char tab_g[256 * 256];
-unsigned char tab_b[256 * 256];
+static unsigned char tab_r[256 * 256];
+static unsigned char tab_g[256 * 256];
+static unsigned char tab_b[256 * 256];
-int h_cos[360];
-int h_sin[360];
+static int h_cos[360];
+static int h_sin[360];
static int ipol(uint8_t *src, int x, int y)
{