diff options
Diffstat (limited to 'src/common/string.c')
-rw-r--r-- | src/common/string.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/common/string.c b/src/common/string.c index 120fd5d..4c2dba8 100644 --- a/src/common/string.c +++ b/src/common/string.c @@ -20,13 +20,6 @@ char *strcpy(char *dest, const char *src) { return (char*)src; } -/*char *strdup(const char *src) { - char* ret = malloc(strlen(src) + 1); - if (ret == NULL) return ret; - strcpy(ret, src); - return ret; -}*/ - char *strcat(char *dest, const char *src) { char *dest2 = dest; dest2 += strlen(dest) - 1; |