diff options
author | Marvin Borner | 2021-05-18 18:37:19 +0200 |
---|---|---|
committer | Marvin Borner | 2021-05-18 18:37:50 +0200 |
commit | 4b4bfec8a312132acc84b5166998d0cfa7c01931 (patch) | |
tree | eeb494cf539b4bfdb6dae23a34f5f1c5d7167667 /libs/libc/inc/str.h | |
parent | eb13f2a8f536fecf918699bc19b3087a78a417d6 (diff) |
Improved entire building chain (especially debugging)
Diffstat (limited to 'libs/libc/inc/str.h')
-rw-r--r-- | libs/libc/inc/str.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libs/libc/inc/str.h b/libs/libc/inc/str.h index f024aaa..d4c197e 100644 --- a/libs/libc/inc/str.h +++ b/libs/libc/inc/str.h @@ -18,16 +18,16 @@ ATTR((malloc)) char *strdup(const char *s) NONNULL; #ifdef KERNEL -PURE u32 strlen_user(const char *s) NONNULL; -PURE u32 strnlen_user(const char *s, u32 max) NONNULL; -u32 strlcpy_user(char *dst, const char *src, u32 size) NONNULL; -PURE char *strchr_user(char *s, char c) NONNULL; -PURE char *strrchr_user(char *s, char c) NONNULL; -u32 strlcat_user(char *dst, const char *src, u32 size) NONNULL; -s32 strcmp_user(const char *s1, const char *s2) NONNULL; -s32 strncmp_user(const char *s1, const char *s2, u32 n) NONNULL; -char *strinv_user(char *s) NONNULL; -ATTR((malloc)) char *strdup_user(const char *s) NONNULL; +INLINE PURE u32 strlen_user(const char *s) NONNULL; +INLINE PURE u32 strnlen_user(const char *s, u32 max) NONNULL; +INLINE u32 strlcpy_user(char *dst, const char *src, u32 size) NONNULL; +INLINE PURE char *strchr_user(char *s, char c) NONNULL; +INLINE PURE char *strrchr_user(char *s, char c) NONNULL; +INLINE u32 strlcat_user(char *dst, const char *src, u32 size) NONNULL; +INLINE s32 strcmp_user(const char *s1, const char *s2) NONNULL; +INLINE s32 strncmp_user(const char *s1, const char *s2, u32 n) NONNULL; +INLINE char *strinv_user(char *s) NONNULL; +INLINE ATTR((malloc)) char *strdup_user(const char *s) NONNULL; #endif |