aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/lib/string/strlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/lib/string/strlen.c')
-rw-r--r--src/kernel/lib/string/strlen.c6
1 files changed, 3 insertions, 3 deletions
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 <kernel/lib/string.h>
+#include <lib/string.h>
-size_t strlen(const char *str)
+u32 strlen(const char *str)
{
- size_t len = 0;
+ u32 len = 0;
while (str[len])
len++;
return len;