summaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
authorstefan <stefan@s00.xyz>2023-04-21 21:56:45 -0400
committerstefan <stefan@s00.xyz>2023-04-21 21:56:45 -0400
commit386ad4f82955d389ae347bc50f7efca5edb9d9a8 (patch)
treec18143b0a593e80145f003707a4eb29fa25d0f33 /include/string.h
parenteff82c45c589b42061344039d5f2efc8ad7c52df (diff)
downloadsv-386ad4f82955d389ae347bc50f7efca5edb9d9a8.tar.gz
actually got libfdt working
Diffstat (limited to 'include/string.h')
-rw-r--r--include/string.h5
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 */