strcat()


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1069 a1c6a512-1295-4272-9138-f99709370657
diff --git a/firmware/common/strcat.c b/firmware/common/strcat.c
new file mode 100644
index 0000000..e3366d7
--- /dev/null
+++ b/firmware/common/strcat.c
@@ -0,0 +1,12 @@
+char *strcat(char *s1,
+             const char *s2)
+{
+  char *s = s1;
+
+  while (*s1)
+    s1++;
+
+  while ((*s1++ = *s2++))
+    ;
+  return s;
+}