diff options
author | Anton Kling <anton@kling.gg> | 2023-11-10 15:47:08 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-11-10 15:47:08 +0100 |
commit | 9a1f977e39d8e9fcb6a9cb2a612f4743e802221d (patch) | |
tree | 1fc53f6e80eb40d24274f2f8967d584b88c6d664 /kernel/libc/include | |
parent | 0cb4afef6da5488a128e5aaece435e9aa5f5797e (diff) |
Kernel Style: Change uint*_t -> u*
Diffstat (limited to 'kernel/libc/include')
-rw-r--r-- | kernel/libc/include/string.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/libc/include/string.h b/kernel/libc/include/string.h index 7cee4b2..707d391 100644 --- a/kernel/libc/include/string.h +++ b/kernel/libc/include/string.h @@ -1,16 +1,16 @@ #ifndef STRING_H #define STRING_H #include <stddef.h> -#include <stdint.h> +#include <typedefs.h> unsigned long strlen(const char *s); -void *memcpy(void *dest, const void *src, uint32_t n); -void *memset(void *dst, const unsigned char c, uint32_t n); -int memcmp(const void *s1, const void *s2, uint32_t n); +void *memcpy(void *dest, const void *src, u32 n); +void *memset(void *dst, const unsigned char c, u32 n); +int memcmp(const void *s1, const void *s2, u32 n); char *strcpy(char *d, const char *s); int strcmp(const char *s1, const char *s2); int isequal(const char *s1, const char *s2); -int isequal_n(const char *s1, const char *s2, uint32_t n); +int isequal_n(const char *s1, const char *s2, u32 n); char *copy_and_allocate_string(const char *s); char *copy_and_allocate_user_string(const char *s); char *strncpy(char *dest, const char *src, size_t n); |