aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/lib/lib.h
diff options
context:
space:
mode:
authorMarvin Borner2019-10-17 20:38:19 +0200
committerMarvin Borner2019-10-17 20:38:19 +0200
commit17c6b30949ce7d4a293862ec8f9b873e17fe0cd8 (patch)
treee87380859d68848ef2a5d7eaa28f29100bcab296 /src/kernel/lib/lib.h
parentbf17b4720b06f6045934e3eb2e2e9c808ead8155 (diff)
Optimized string functions
Diffstat (limited to 'src/kernel/lib/lib.h')
-rw-r--r--src/kernel/lib/lib.h6
1 files changed, 2 insertions, 4 deletions
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