summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugin.c1
-rw-r--r--apps/plugin.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 6c92364..69e84c1 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -262,6 +262,7 @@ static const struct plugin_api rockbox_api = {
/* new stuff at the end, sort into place next time
the API gets incompatible */
+ strchr,
};
int plugin_load(const char* plugin, void* parameter)
diff --git a/apps/plugin.h b/apps/plugin.h
index bd9cd5a..cb9bdb7 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -60,7 +60,7 @@
#endif
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 29
+#define PLUGIN_API_VERSION 30
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@@ -298,6 +298,7 @@ struct plugin_api {
/* new stuff at the end, sort into place next time
the API gets incompatible */
+ char (*strchr)(const char *s, int c);
};
/* defined by the plugin loader (plugin.c) */