From f10737a4ee4a818acdc28fa2e32c85a74f47eb5c Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 31 Jan 2024 00:00:11 -0500 Subject: update to 1:1 checked functions --- src/string/strlen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/string/strlen.c') diff --git a/src/string/strlen.c b/src/string/strlen.c index 44210c7c..1499eac4 100644 --- a/src/string/strlen.c +++ b/src/string/strlen.c @@ -16,6 +16,8 @@ size_t strlen(const char *s) return i; } +__check_1(size_t, 0, strlen, const char *) + /*** counts the number of bytes in the string ARGUMENT(s), not including the terminating null character. -- cgit v1.2.1