From f06ed4ad0cfc30c1be3bda92cb5df90859f36b94 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 9 Feb 2005 12:27:44 +0000 Subject: strcat() added to the plugin API git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5867 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 1 + apps/plugin.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'apps') diff --git a/apps/plugin.c b/apps/plugin.c index 69e84c1809..f595ed75da 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -263,6 +263,7 @@ static const struct plugin_api rockbox_api = { the API gets incompatible */ strchr, + strcat, }; int plugin_load(const char* plugin, void* parameter) diff --git a/apps/plugin.h b/apps/plugin.h index cb9bdb7f9d..2ae325a6d8 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -299,6 +299,8 @@ struct plugin_api { the API gets incompatible */ char (*strchr)(const char *s, int c); + char (*strcat)(char *s1, const char *s2); + }; /* defined by the plugin loader (plugin.c) */ -- cgit v1.2.3