summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/configfile.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-05-04 13:21:07 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-05-04 13:21:07 +0000
commita36c8f1db3b1fbb2ce2dbb834032c4e84f30add7 (patch)
tree65d3214e15daa1efb5782e075b9841848539b334 /apps/plugins/lib/configfile.c
parent517aca8532af3121d9c75ff293c5269f20c0b540 (diff)
downloadrockbox-a36c8f1db3b1fbb2ce2dbb834032c4e84f30add7.tar.gz
rockbox-a36c8f1db3b1fbb2ce2dbb834032c4e84f30add7.zip
pluginlib: made local functions in static and made sure that source files include their own header file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17353 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/configfile.c')
-rw-r--r--apps/plugins/lib/configfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lib/configfile.c b/apps/plugins/lib/configfile.c
index 7c7d56e4e5..b0d134fae9 100644
--- a/apps/plugins/lib/configfile.c
+++ b/apps/plugins/lib/configfile.c
@@ -26,7 +26,7 @@ void configfile_init(struct plugin_api* newrb)
26 cfg_rb = newrb; 26 cfg_rb = newrb;
27} 27}
28 28
29void get_cfg_filename(char* buf, int buf_len, const char* filename) 29static void get_cfg_filename(char* buf, int buf_len, const char* filename)
30{ 30{
31 char *s; 31 char *s;
32 cfg_rb->strcpy(buf, cfg_rb->plugin_get_current_filename()); 32 cfg_rb->strcpy(buf, cfg_rb->plugin_get_current_filename());