summaryrefslogtreecommitdiff
path: root/src/string/strstr.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-31 00:00:11 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-31 00:00:11 -0500
commitf10737a4ee4a818acdc28fa2e32c85a74f47eb5c (patch)
treeef6999fa663f3e6f6e6137ab6218ff68ff197dd3 /src/string/strstr.c
parent9222a64f2e86db0d94b977d79c274d1d07003b0a (diff)
update to 1:1 checked functions
Diffstat (limited to 'src/string/strstr.c')
-rw-r--r--src/string/strstr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/string/strstr.c b/src/string/strstr.c
index cc2da14a..d4f26f37 100644
--- a/src/string/strstr.c
+++ b/src/string/strstr.c
@@ -30,6 +30,8 @@ char * strstr(const char *s1, const char *s2)
return p;
}
+CHECK_2(char *, 0, strstr, const char *, const char *)
+
/***
finds the first occurrence of the string ARGUMENT(s2) in the string
ARGUMENT(s1). Specifying the empty string for ARGUMENT(s2) matches the first