Added strncpy to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4911 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b7aeed9d57
commit
d1df184f0f
2 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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) */
|
||||
|
|
Loading…
Reference in a new issue