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/strchr.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/string/strchr.c') diff --git a/src/string/strchr.c b/src/string/strchr.c index f71c674a..5793743b 100644 --- a/src/string/strchr.c +++ b/src/string/strchr.c @@ -16,6 +16,8 @@ char * strchr(const char *s, int c) return (char*)memchr(s, (char)c, strlen(s)); } +__check_2(char *, 0, strchr, const char *, int) + /*** searches the string ARGUMENT(s) for the first occurrence of ARGUMENT(c) (converted to a TYPE(char)). -- cgit v1.2.1