summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-02-09 12:27:44 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-02-09 12:27:44 +0000
commitf06ed4ad0cfc30c1be3bda92cb5df90859f36b94 (patch)
tree4455fa616857d1f6dab1c0331f4a6a338cf0ffc1 /apps
parentb5a5d2cecc94133922d544ec1787ac85578dd7e5 (diff)
downloadrockbox-f06ed4ad0cfc30c1be3bda92cb5df90859f36b94.zip
rockbox-f06ed4ad0cfc30c1be3bda92cb5df90859f36b94.tar.gz
rockbox-f06ed4ad0cfc30c1be3bda92cb5df90859f36b94.tar.bz2
rockbox-f06ed4ad0cfc30c1be3bda92cb5df90859f36b94.tar.xz
strcat() added to the plugin API
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5867 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c1
-rw-r--r--apps/plugin.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 69e84c1..f595ed7 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 cb9bdb7..2ae325a 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) */