summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c1
-rw-r--r--apps/plugin.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 3cdc56ceb4..20d1697d6e 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -255,6 +255,7 @@ static const struct plugin_api rockbox_api = {
255 strcmp, 255 strcmp,
256 button_status, 256 button_status,
257 button_clear_queue, 257 button_clear_queue,
258 strncpy,
258}; 259};
259 260
260int plugin_load(char* plugin, void* parameter) 261int plugin_load(char* plugin, void* parameter)
diff --git a/apps/plugin.h b/apps/plugin.h
index d34c32eac0..06a31ade37 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -291,6 +291,7 @@ struct plugin_api {
291 int (*strcmp)(const char *, const char *); 291 int (*strcmp)(const char *, const char *);
292 int (*button_status)(void); 292 int (*button_status)(void);
293 void (*button_clear_queue)(void); 293 void (*button_clear_queue)(void);
294 char *(*strncpy)(char *dst, const char *src, size_t length);
294}; 295};
295 296
296/* defined by the plugin loader (plugin.c) */ 297/* defined by the plugin loader (plugin.c) */