summaryrefslogtreecommitdiff
path: root/src/string/strspn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strspn.c')
-rw-r--r--src/string/strspn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/string/strspn.c b/src/string/strspn.c
index 4d6231e7..156abe06 100644
--- a/src/string/strspn.c
+++ b/src/string/strspn.c
@@ -20,6 +20,8 @@ size_t strspn(const char *s1, const char *s2)
return i;
}
+CHECK_2(size_t, 0, strspn, const char *, const char *)
+
/***
computes the length of the maximum initial segment of the ARGUMENT(s1) made
up of characters from ARGUMENT(s2).