From 789b2e089e72e3a6e61e40121e2efbb46723a1a9 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Fri, 22 Oct 2021 23:17:33 -0400 Subject: plugin.h change plugin_open() path and parameter to const it doesn't modify the args.. Change-Id: Ie8e1e36a060231c0137292c770e4f77da3b8203a --- apps/plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugin.c') 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)) pfn_tsr_exit = exit_callback; /* remember the callback for later */ } -int plugin_open(char *plugin, char *parameter) +int plugin_open(const char *plugin, const char *parameter) { open_plugin_add_path(ID2P(LANG_OPEN_PLUGIN), plugin, parameter); return PLUGIN_GOTO_PLUGIN; -- cgit v1.2.3