From 386ad4f82955d389ae347bc50f7efca5edb9d9a8 Mon Sep 17 00:00:00 2001 From: stefan Date: Fri, 21 Apr 2023 21:56:45 -0400 Subject: actually got libfdt working --- include/string.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/string.h') 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 */ -- cgit v1.2.3