From 3b03e19489bb6106db8a409cb5f287f0b71aff2e Mon Sep 17 00:00:00 2001 From: apio Date: Sun, 12 Mar 2023 10:43:13 +0100 Subject: [PATCH] libc: Replace usize with size_t in string.h --- libc/include/string.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/include/string.h b/libc/include/string.h index b34d6504..dc58e4d8 100644 --- a/libc/include/string.h +++ b/libc/include/string.h @@ -48,10 +48,10 @@ extern "C" char* strerror(int errnum); /* Return the length of the initial segment of str which consists only of bytes in accept. */ - usize strspn(const char* str, const char* accept); + size_t strspn(const char* str, const char* accept); /* Return the length of the initial segment of str which consists only of bytes not in reject. */ - usize strcspn(const char* str, const char* reject); + size_t strcspn(const char* str, const char* reject); /* Separate a string into several tokens. */ char* strtok(char* str, const char* delim);