From 17c6b30949ce7d4a293862ec8f9b873e17fe0cd8 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 17 Oct 2019 20:38:19 +0200 Subject: Optimized string functions --- src/kernel/lib/lib.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/kernel/lib/lib.h') diff --git a/src/kernel/lib/lib.h b/src/kernel/lib/lib.h index 03b4a3e..6963498 100644 --- a/src/kernel/lib/lib.h +++ b/src/kernel/lib/lib.h @@ -22,17 +22,15 @@ size_t strcmp(const char *s1, const char *s2); * Append the data of src to dest * @param dest The string destination pointer * @param src The string pointer that will get appended - * @return The modified dest pointer */ -char *strcat(char *dest, const char *src); +void strcat(char *dest, const char *src); /** * Copy the data of src to dest * @param dest The copying destination pointer (gets replaced) * @param src The string pointer that will get copied - * @return The modified dest pointer */ -char *strcpy(char *dest, const char *src); +void strcpy(char *dest, const char *src); /** * Copy n data from src to dest -- cgit v1.2.3