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/strcspn.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/string/strcspn.c') diff --git a/src/string/strcspn.c b/src/string/strcspn.c index 3438de74..19f83fda 100644 --- a/src/string/strcspn.c +++ b/src/string/strcspn.c @@ -20,6 +20,8 @@ size_t strcspn(const char *s1, const char *s2) return i; } +__check_2(size_t, 0, strcspn, const char *, const char *) + /*** the number of characters that the beginning of the string ARGUMENT(s1) that are not in the string ARGUMENT(s2). -- cgit v1.2.1