diff options
author | Torne Wuff <torne@wolfpuppy.org.uk> | 2010-01-02 13:31:46 +0000 |
---|---|---|
committer | Torne Wuff <torne@wolfpuppy.org.uk> | 2010-01-02 13:31:46 +0000 |
commit | 6e9af8bd4435fca55b91d6d794099121318972dc (patch) | |
tree | da18a87aa4b58d8c40640e7f5c7e99c2a8c5ac9c /apps/plugin.c | |
parent | 7746f94496a05ba28dc8d77edf05568ad6c681d2 (diff) | |
download | rockbox-6e9af8bd4435fca55b91d6d794099121318972dc.tar.gz rockbox-6e9af8bd4435fca55b91d6d794099121318972dc.zip |
Add strlcat to core to match strlcpy (also add to plugin api). Some uses of strcat could probably do with being changed to this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24141 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index ab5ccf5a1b..47f2465631 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -682,8 +682,9 @@ static const struct plugin_api rockbox_api = { | |||
682 | viewportmanager_theme_undo, | 682 | viewportmanager_theme_undo, |
683 | #endif | 683 | #endif |
684 | #if !defined(SIMULATOR) || defined(__MINGW32__) || defined(__CYGWIN__) | 684 | #if !defined(SIMULATOR) || defined(__MINGW32__) || defined(__CYGWIN__) |
685 | &errno | 685 | &errno, |
686 | #endif | 686 | #endif |
687 | strlcat, | ||
687 | }; | 688 | }; |
688 | 689 | ||
689 | int plugin_load(const char* plugin, const void* parameter) | 690 | int plugin_load(const char* plugin, const void* parameter) |