summaryrefslogtreecommitdiff
path: root/src/string/strncmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strncmp.c')
-rw-r--r--src/string/strncmp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/string/strncmp.c b/src/string/strncmp.c
index c5dd573a..bea831b3 100644
--- a/src/string/strncmp.c
+++ b/src/string/strncmp.c
@@ -24,6 +24,8 @@ int strncmp(const char *s1, const char *s2, size_t n)
return memcmp(s1, s2, n);
}
+__check_3(int, 0, strncmp, const char *, const char *, size_t)
+
/***
compares up to the first ARGUMENT(n) bytes of the strings at ARGUMENT(s1) and
ARGUMENT(s2), or until the first CHAR(\0), whichever comes first.