From d94ffac4a584dc7a4f6f2ec567b8caab05ce9253 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 6 May 2020 19:04:05 +0200 Subject: New build parameters and shared includes This changes many files but I've just applied some replace commands.. So - nothing special! --- src/kernel/lib/string/strlen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/kernel/lib/string/strlen.c') diff --git a/src/kernel/lib/string/strlen.c b/src/kernel/lib/string/strlen.c index 9e7e448..520ab92 100644 --- a/src/kernel/lib/string/strlen.c +++ b/src/kernel/lib/string/strlen.c @@ -1,8 +1,8 @@ -#include +#include -size_t strlen(const char *str) +u32 strlen(const char *str) { - size_t len = 0; + u32 len = 0; while (str[len]) len++; return len; -- cgit v1.2.3