diff options
author | stefan <stefan@s00.xyz> | 2023-04-21 21:56:45 -0400 |
---|---|---|
committer | stefan <stefan@s00.xyz> | 2023-04-21 21:56:45 -0400 |
commit | 386ad4f82955d389ae347bc50f7efca5edb9d9a8 (patch) | |
tree | c18143b0a593e80145f003707a4eb29fa25d0f33 /include/string.h | |
parent | eff82c45c589b42061344039d5f2efc8ad7c52df (diff) | |
download | sv-386ad4f82955d389ae347bc50f7efca5edb9d9a8.tar.gz |
actually got libfdt working
Diffstat (limited to 'include/string.h')
-rw-r--r-- | include/string.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/string.h b/include/string.h index 5e06af7..b09d2cb 100644 --- a/include/string.h +++ b/include/string.h @@ -13,7 +13,6 @@ void *memchr(const void *, int, size_t); char *strchr(const char *, int); char *strrchr(const char*, int); -//size_t strlen(const char *); -#define strlen(s) __builtin_strlen(s) -#define strnlen(s, n) __builtin_strnlen(s, n) +size_t strlen(const char *); +size_t strnlen(const char *, size_t); #endif /* _STRING_H */ |