summaryrefslogtreecommitdiff
path: root/libc/string/generic/strcspn.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-01 20:43:44 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-01 20:43:44 +0000
commit8a0b43005ad9ea011b80d66e32b46fb430ddaffb (patch)
tree418818740042c5dbba244bc1efc760c8d29e47a9 /libc/string/generic/strcspn.c
parent42b161bb716f35948fabd36472fb59cd0a20fa92 (diff)
Hide mostly used functions
Diffstat (limited to 'libc/string/generic/strcspn.c')
-rw-r--r--libc/string/generic/strcspn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/generic/strcspn.c b/libc/string/generic/strcspn.c
index c41132cf6..a10912e25 100644
--- a/libc/string/generic/strcspn.c
+++ b/libc/string/generic/strcspn.c
@@ -27,7 +27,7 @@ size_t attribute_hidden __strcspn (const char *s, const char *reject)
size_t count = 0;
while (*s != '\0')
- if (strchr (reject, *s++) == NULL)
+ if (__strchr (reject, *s++) == NULL)
++count;
else
return count;