forked from len0rd/rockbox
added strncmp() to the plugin API, based the patch 1170215 by Rick La Charité
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6943 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e8e953f5d5
commit
510a18d302
2 changed files with 2 additions and 1 deletions
|
|
@ -329,7 +329,7 @@ static const struct plugin_api rockbox_api = {
|
|||
#ifdef ROCKBOX_HAS_LOGF
|
||||
logf,
|
||||
#endif
|
||||
|
||||
strncmp,
|
||||
};
|
||||
|
||||
int plugin_load(const char* plugin, void* parameter)
|
||||
|
|
|
|||
|
|
@ -399,6 +399,7 @@ struct plugin_api {
|
|||
#ifdef ROCKBOX_HAS_LOGF
|
||||
void (*logf)(const char *fmt, ...);
|
||||
#endif
|
||||
int (*strncmp)(const char *, const char *, size_t);
|
||||
};
|
||||
|
||||
int plugin_load(const char* plugin, void* parameter);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue