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.h | |
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.h')
-rw-r--r-- | apps/plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index c92fcef736..cf16eef94f 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -863,6 +863,7 @@ struct plugin_api { | |||
863 | #if !defined(SIMULATOR) || defined(__MINGW32__) || defined(__CYGWIN__) | 863 | #if !defined(SIMULATOR) || defined(__MINGW32__) || defined(__CYGWIN__) |
864 | int* __errno; | 864 | int* __errno; |
865 | #endif | 865 | #endif |
866 | size_t (*strlcat)(char *dst, const char *src, size_t length); | ||
866 | }; | 867 | }; |
867 | 868 | ||
868 | /* plugin header */ | 869 | /* plugin header */ |