diff options
author | Steve Bavin <pondlife@pondlife.me> | 2008-05-13 09:57:56 +0000 |
---|---|---|
committer | Steve Bavin <pondlife@pondlife.me> | 2008-05-13 09:57:56 +0000 |
commit | 652657781805d9cc10d744a49fb23eb17019fbbf (patch) | |
tree | 2d1a6ae597a17531f726b57fd9f8cbaa2a46a07f /apps/plugins/random_folder_advance_config.c | |
parent | a94e40d5153ab698fa8a1b6b57d91fcb6acc905e (diff) |
Plugin parameters should be const.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/random_folder_advance_config.c')
-rw-r--r-- | apps/plugins/random_folder_advance_config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/random_folder_advance_config.c b/apps/plugins/random_folder_advance_config.c index 413dc029b4..4df764285f 100644 --- a/apps/plugins/random_folder_advance_config.c +++ b/apps/plugins/random_folder_advance_config.c @@ -21,7 +21,7 @@ PLUGIN_HEADER -static struct plugin_api* rb; +static const struct plugin_api* rb; static bool abort; static int fd; static int dirs_count; @@ -544,7 +544,7 @@ int main_menu(void) return 0; } -enum plugin_status plugin_start(struct plugin_api* api, void* parameter) +enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) { (void)parameter; |