ref: 5adad1fada46bd116d17d11f795f9fafe7867ec5
parent: da057ad976325a269ee17e046c34ae4151b2580d
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Jan 19 19:05:19 EST 2014
ape: remove local copy of memccpy()
--- 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)
{--
⑨