summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-01-20 00:05:19 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-01-20 00:05:19 +0100
commit43ae5531953f65860c5c6e72ac5218aa3a235bbf (patch)
treef5076b6cf4d66aa5dcb658c1b4da24c410f08e93
parent8a72dc1c6b13edf36cc2bc349bb40688ffe0a6a2 (diff)
downloadplan9front-43ae5531953f65860c5c6e72ac5218aa3a235bbf.tar.xz
ape: remove local copy of memccpy()
-rw-r--r--sys/src/ape/lib/ap/gen/strcpy.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/src/ape/lib/ap/gen/strcpy.c b/sys/src/ape/lib/ap/gen/strcpy.c
index 6a294eee5..3f50f5921 100644
--- a/sys/src/ape/lib/ap/gen/strcpy.c
+++ b/sys/src/ape/lib/ap/gen/strcpy.c
@@ -1,21 +1,6 @@
#include <string.h>
#define N 10000
-static void*
-memccpy(void *a1, void *a2, int c, unsigned long n)
-{
- char *s1, *s2;
-
- s1 = a1;
- s2 = a2;
- while(n > 0) {
- if((*s1++ = *s2++) == c)
- return s1;
- n--;
- }
- return 0;
-}
-
char*
strcpy(char *s1, const char *s2)
{