diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2011-09-17 17:20:27 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2011-09-17 17:20:27 +0000 |
commit | d91e67acc97263504a7338856b055d565e14c99a (patch) | |
tree | 47f4e8f80c99b7c049afeeb4ee926ce1b2ff24f8 /apps/plugins/stats.c | |
parent | e03faf835dd7b879f589e3dc080991bab86dfae7 (diff) | |
download | rockbox-d91e67acc97263504a7338856b055d565e14c99a.tar.gz 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.c | 10 |
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; | |||
115 | #endif | 115 | #endif |
116 | 116 | ||
117 | /* we don't have yet a filetype attribute for image files */ | 117 | /* we don't have yet a filetype attribute for image files */ |
118 | const char *image_exts[] = {"bmp","jpg","jpe","jpeg","png","ppm"}; | 118 | static const char *image_exts[] = {"bmp","jpg","jpe","jpeg","png","ppm"}; |
119 | 119 | ||
120 | /* neither for video ones */ | 120 | /* neither for video ones */ |
121 | const char *video_exts[] = {"mpg","mpeg","mpv","m2v"}; | 121 | static const char *video_exts[] = {"mpg","mpeg","mpv","m2v"}; |
122 | 122 | ||
123 | void prn(const char *str, int y) | 123 | static void prn(const char *str, int y) |
124 | { | 124 | { |
125 | rb->lcd_puts(0,y,str); | 125 | rb->lcd_puts(0,y,str); |
126 | #ifdef HAVE_REMOTE_LCD | 126 | #ifdef HAVE_REMOTE_LCD |
@@ -128,7 +128,7 @@ void prn(const char *str, int y) | |||
128 | #endif | 128 | #endif |
129 | } | 129 | } |
130 | 130 | ||
131 | void update_screen(void) | 131 | static void update_screen(void) |
132 | { | 132 | { |
133 | char buf[32]; | 133 | char buf[32]; |
134 | 134 | ||
@@ -165,7 +165,7 @@ void update_screen(void) | |||
165 | #endif | 165 | #endif |
166 | } | 166 | } |
167 | 167 | ||
168 | void traversedir(char* location, char* name) | 168 | static void traversedir(char* location, char* name) |
169 | { | 169 | { |
170 | int button; | 170 | int button; |
171 | struct dirent *entry; | 171 | struct dirent *entry; |