summaryrefslogtreecommitdiff
path: root/src/string/strlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strlen.c')
-rw-r--r--src/string/strlen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/string/strlen.c b/src/string/strlen.c
index 44210c7c..1499eac4 100644
--- a/src/string/strlen.c
+++ b/src/string/strlen.c
@@ -16,6 +16,8 @@ size_t strlen(const char *s)
return i;
}
+__check_1(size_t, 0, strlen, const char *)
+
/***
counts the number of bytes in the string ARGUMENT(s), not
including the terminating null character.