From eed77bd2970a00d1394ed027ceca5b646e4671ce Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 17 Jun 2020 18:31:46 +0200 Subject: Started rewrite --- src/kernel/lib/string/strcpy.c | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 src/kernel/lib/string/strcpy.c (limited to 'src/kernel/lib/string/strcpy.c') diff --git a/src/kernel/lib/string/strcpy.c b/src/kernel/lib/string/strcpy.c deleted file mode 100644 index 5d7f194..0000000 --- a/src/kernel/lib/string/strcpy.c +++ /dev/null @@ -1,10 +0,0 @@ -#include - -void strcpy(char *dest, const char *orig) -{ - u32 s_orig = strlen(orig); - - for (u32 i = 0; i < s_orig; i++) - dest[i] = orig[i]; - dest[s_orig] = 0; -} \ No newline at end of file -- cgit v1.2.3