diff options
-rw-r--r-- | apps/plugin.c | 1 | ||||
-rw-r--r-- | apps/plugin.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 7b26b0dd57..b9b88164b6 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -265,6 +265,7 @@ static const struct plugin_api rockbox_api = { | |||
265 | 265 | ||
266 | strchr, | 266 | strchr, |
267 | strcat, | 267 | strcat, |
268 | memcmp | ||
268 | }; | 269 | }; |
269 | 270 | ||
270 | int plugin_load(const char* plugin, void* parameter) | 271 | int plugin_load(const char* plugin, void* parameter) |
diff --git a/apps/plugin.h b/apps/plugin.h index 0d1a9b2fa4..3b8d022219 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 30 | 63 | #define PLUGIN_API_VERSION 31 |
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 |
@@ -300,7 +300,7 @@ struct plugin_api { | |||
300 | 300 | ||
301 | char *(*strchr)(const char *s, int c); | 301 | char *(*strchr)(const char *s, int c); |
302 | char *(*strcat)(char *s1, const char *s2); | 302 | char *(*strcat)(char *s1, const char *s2); |
303 | 303 | int (*memcmp)(const void *s1, const void *s2, size_t n); | |
304 | }; | 304 | }; |
305 | 305 | ||
306 | /* defined by the plugin loader (plugin.c) */ | 306 | /* defined by the plugin loader (plugin.c) */ |