diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugin.c | 1 | ||||
-rw-r--r-- | apps/plugin.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 86e4a25523..38bc25b9a0 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -264,6 +264,7 @@ static const struct plugin_api rockbox_api = { | |||
264 | cpu_boost, | 264 | cpu_boost, |
265 | #endif | 265 | #endif |
266 | #endif | 266 | #endif |
267 | PREFIX(mkdir), | ||
267 | }; | 268 | }; |
268 | 269 | ||
269 | int plugin_load(const char* plugin, void* parameter) | 270 | int plugin_load(const char* plugin, void* parameter) |
diff --git a/apps/plugin.h b/apps/plugin.h index 75da6627be..fdabdbdc81 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -69,7 +69,7 @@ | |||
69 | #endif | 69 | #endif |
70 | 70 | ||
71 | /* increase this every time the api struct changes */ | 71 | /* increase this every time the api struct changes */ |
72 | #define PLUGIN_API_VERSION 34 | 72 | #define PLUGIN_API_VERSION 35 |
73 | 73 | ||
74 | /* update this to latest version if a change to the api struct breaks | 74 | /* update this to latest version if a change to the api struct breaks |
75 | backwards compatibility (and please take the opportunity to sort in any | 75 | backwards compatibility (and please take the opportunity to sort in any |
@@ -313,6 +313,7 @@ struct plugin_api { | |||
313 | void (*cpu_boost)(bool on_off); | 313 | void (*cpu_boost)(bool on_off); |
314 | #endif | 314 | #endif |
315 | #endif | 315 | #endif |
316 | int (*PREFIX(mkdir))(const char *name, int mode); | ||
316 | }; | 317 | }; |
317 | 318 | ||
318 | /* defined by the plugin loader (plugin.c) */ | 319 | /* defined by the plugin loader (plugin.c) */ |