aboutsummaryrefslogtreecommitdiff
path: root/arclib/string.c
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2010-05-17 16:58:14 +0200
committerGuido Guenther <agx@sigxcpu.org>2010-05-17 17:22:23 +0200
commitf2f5a942abfb375a3f2d031005d5f067d1257876 (patch)
tree82959aba9dae887fa56ac45b996f4c82d75e0c4d /arclib/string.c
parentfd7ca783104217d278dd1e0a3b3f1f45dc03ff15 (diff)
Drop duplicate memmove/strcat functions
those were already added by commit 0b1d5fa90eabd98e3d69734ce1cdcef949d3fb30.
Diffstat (limited to 'arclib/string.c')
-rw-r--r--arclib/string.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/arclib/string.c b/arclib/string.c
index 66ed3c1..1c424c0 100644
--- a/arclib/string.c
+++ b/arclib/string.c
@@ -149,36 +149,3 @@ void __bzero(char *p, int len)
{
memset(p, 0, len);
}
-
-char *strcat(char *dest, const char *src)
-{
- char *tmp = dest;
-
- while (*dest)
- dest++;
- while ((*dest++ = *src++) != '\0')
- ;
- return tmp;
-}
-
-void *memmove(void *dest, const void *src, size_t count)
-{
- char *tmp;
- const char *s;
-
- if (dest <= src) {
- tmp = dest;
- s = src;
- while (count--)
- *tmp++ = *s++;
- } else {
- tmp = dest;
- tmp += count;
- s = src;
- s += count;
- while (count--)
- *--tmp = *--s;
- }
- return dest;
-}
-