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/strcat.c | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 src/kernel/lib/string/strcat.c (limited to 'src/kernel/lib/string/strcat.c') diff --git a/src/kernel/lib/string/strcat.c b/src/kernel/lib/string/strcat.c deleted file mode 100644 index 3ae8ea0..0000000 --- a/src/kernel/lib/string/strcat.c +++ /dev/null @@ -1,11 +0,0 @@ -#include - -void strcat(char *dest, const char *orig) -{ - u32 s_dest = strlen(dest); - u32 s_orig = strlen(orig); - - for (u32 i = 0; i < s_orig; i++) - dest[s_dest + i] = orig[i]; - dest[s_dest + s_orig] = 0; -} \ No newline at end of file -- cgit v1.2.3