summaryrefslogtreecommitdiffstats
path: root/apps/plugins/stats.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2011-09-17 17:20:27 +0000
committerBertrik Sikken <bertrik@sikken.nl>2011-09-17 17:20:27 +0000
commitd91e67acc97263504a7338856b055d565e14c99a (patch)
tree47f4e8f80c99b7c049afeeb4ee926ce1b2ff24f8 /apps/plugins/stats.c
parente03faf835dd7b879f589e3dc080991bab86dfae7 (diff)
downloadrockbox-d91e67acc97263504a7338856b055d565e14c99a.tar.gz
rockbox-d91e67acc97263504a7338856b055d565e14c99a.tar.bz2
rockbox-d91e67acc97263504a7338856b055d565e14c99a.zip
plugins: make local functions static for a subset of plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30564 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/stats.c')
-rw-r--r--apps/plugins/stats.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/stats.c b/apps/plugins/stats.c
index 07f2f8efb8..5392910a15 100644
--- a/apps/plugins/stats.c
+++ b/apps/plugins/stats.c
@@ -115,12 +115,12 @@ static bool cancel;
#endif
/* we don't have yet a filetype attribute for image files */
-const char *image_exts[] = {"bmp","jpg","jpe","jpeg","png","ppm"};
+static const char *image_exts[] = {"bmp","jpg","jpe","jpeg","png","ppm"};
/* neither for video ones */
-const char *video_exts[] = {"mpg","mpeg","mpv","m2v"};
+static const char *video_exts[] = {"mpg","mpeg","mpv","m2v"};
-void prn(const char *str, int y)
+static void prn(const char *str, int y)
{
rb->lcd_puts(0,y,str);
#ifdef HAVE_REMOTE_LCD
@@ -128,7 +128,7 @@ void prn(const char *str, int y)
#endif
}
-void update_screen(void)
+static void update_screen(void)
{
char buf[32];
@@ -165,7 +165,7 @@ void update_screen(void)
#endif
}
-void traversedir(char* location, char* name)
+static void traversedir(char* location, char* name)
{
int button;
struct dirent *entry;