From c8ab419ed72ca5483e8db69db7d362aa5225ccf7 Mon Sep 17 00:00:00 2001 From: Tomer Shalev Date: Wed, 7 Apr 2010 17:12:20 +0000 Subject: Text viewer: Make global variables static git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25512 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/viewer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins') 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)) -- cgit v1.2.3