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/strcpy.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/string/strcpy.c') diff --git a/src/string/strcpy.c b/src/string/strcpy.c index 1f80e41b..aa567374 100644 --- a/src/string/strcpy.c +++ b/src/string/strcpy.c @@ -23,6 +23,8 @@ char * strcpy(char * restrict s1, const char * restrict s2) return p; } +__check_2(char *, 0, strcpy, char * restrict, const char * restrict) + /*** copies the string at ARGUMENT(s2) to ARGUMENT(s1), up to and including the terminating CHAR(\0). -- cgit v1.2.1