diff options
author | William Wilgus <wilgus.william@gmail.com> | 2021-10-22 23:17:33 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2021-10-22 23:17:33 -0400 |
commit | 789b2e089e72e3a6e61e40121e2efbb46723a1a9 (patch) | |
tree | 059c5cc78c2f3aa0b16818b5cb06c03d55ad249a /apps/plugin.c | |
parent | f4c7dc933d0df00c8ecc9308553a135a998399e2 (diff) | |
download | rockbox-789b2e089e72e3a6e61e40121e2efbb46723a1a9.tar.gz rockbox-789b2e089e72e3a6e61e40121e2efbb46723a1a9.zip |
plugin.h change plugin_open() path and parameter to const
it doesn't modify the args..
Change-Id: Ie8e1e36a060231c0137292c770e4f77da3b8203a
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 0193dc605e..d1f0348cc3 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -1013,7 +1013,7 @@ static void plugin_tsr(bool (*exit_callback)(bool)) | |||
1013 | pfn_tsr_exit = exit_callback; /* remember the callback for later */ | 1013 | pfn_tsr_exit = exit_callback; /* remember the callback for later */ |
1014 | } | 1014 | } |
1015 | 1015 | ||
1016 | int plugin_open(char *plugin, char *parameter) | 1016 | int plugin_open(const char *plugin, const char *parameter) |
1017 | { | 1017 | { |
1018 | open_plugin_add_path(ID2P(LANG_OPEN_PLUGIN), plugin, parameter); | 1018 | open_plugin_add_path(ID2P(LANG_OPEN_PLUGIN), plugin, parameter); |
1019 | return PLUGIN_GOTO_PLUGIN; | 1019 | return PLUGIN_GOTO_PLUGIN; |