diff --git a/apps/plugin.c b/apps/plugin.c index 983e4991b9..6c487f97fe 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -146,6 +146,7 @@ static struct plugin_api rockbox_api = { snprintf, strcpy, strlen, + strrchr, memset, memcpy, #ifndef SIMULATOR diff --git a/apps/plugin.h b/apps/plugin.h index d9b32055d6..e4ec910006 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -174,6 +174,7 @@ struct plugin_api { int (*snprintf)(char *buf, size_t size, const char *fmt, ...); char* (*strcpy)(char *dst, const char *src); size_t (*strlen)(const char *str); + char * (*strrchr)(const char *s, int c); void* (*memset)(void *dst, int c, size_t length); void* (*memcpy)(void *out, const void *in, size_t n); #ifndef SIMULATOR