summaryrefslogtreecommitdiff
path: root/apps/plugins/viewer.c
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2010-04-07 17:12:20 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2010-04-07 17:12:20 +0000
commitc8ab419ed72ca5483e8db69db7d362aa5225ccf7 (patch)
tree7f7ffedcad9fab4453488922a1fb4a8a9d7a6599 /apps/plugins/viewer.c
parentc56d2b50b322468658f4f7c40dacbac1e057382c (diff)
Text viewer: Make global variables static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25512 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/viewer.c')
-rw-r--r--apps/plugins/viewer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c
index 73b145d009..1a8b5f140e 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -725,8 +725,8 @@ static void calc_max_width(void)
}
}
-bool done = false;
-int col = 0;
+static bool done = false;
+static int col = 0;
#define ADVANCE_COUNTERS(c) { width += glyph_width(c); k++; }
#define LINE_IS_FULL ((k>=max_columns-1) ||( width >= max_width))