summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 3cdc56c..20d1697 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -255,6 +255,7 @@ static const struct plugin_api rockbox_api = {
strcmp,
button_status,
button_clear_queue,
+ strncpy,
};
int plugin_load(char* plugin, void* parameter)
diff --git a/apps/plugin.h b/apps/plugin.h
index d34c32e..06a31ad 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -291,6 +291,7 @@ struct plugin_api {
int (*strcmp)(const char *, const char *);
int (*button_status)(void);
void (*button_clear_queue)(void);
+ char *(*strncpy)(char *dst, const char *src, size_t length);
};
/* defined by the plugin loader (plugin.c) */