summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-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 6c92364a0e..69e84c1809 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -262,6 +262,7 @@ static const struct plugin_api rockbox_api = {
262 /* new stuff at the end, sort into place next time 262 /* new stuff at the end, sort into place next time
263 the API gets incompatible */ 263 the API gets incompatible */
264 264
265 strchr,
265}; 266};
266 267
267int plugin_load(const char* plugin, void* parameter) 268int plugin_load(const char* plugin, void* parameter)
diff --git a/apps/plugin.h b/apps/plugin.h
index bd9cd5a332..cb9bdb7f9d 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -60,7 +60,7 @@
60#endif 60#endif
61 61
62/* increase this every time the api struct changes */ 62/* increase this every time the api struct changes */
63#define PLUGIN_API_VERSION 29 63#define PLUGIN_API_VERSION 30
64 64
65/* update this to latest version if a change to the api struct breaks 65/* update this to latest version if a change to the api struct breaks
66 backwards compatibility (and please take the opportunity to sort in any 66 backwards compatibility (and please take the opportunity to sort in any
@@ -298,6 +298,7 @@ struct plugin_api {
298 /* new stuff at the end, sort into place next time 298 /* new stuff at the end, sort into place next time
299 the API gets incompatible */ 299 the API gets incompatible */
300 300
301 char (*strchr)(const char *s, int c);
301}; 302};
302 303
303/* defined by the plugin loader (plugin.c) */ 304/* defined by the plugin loader (plugin.c) */