projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fgets: avoid arithmetic overflow when n==INT_MIN is passed
[musl]
/
src
/
string
/
strcspn.c
diff --git
a/src/string/strcspn.c
b/src/string/strcspn.c
index
cfdba11
..
a0c617b
100644
(file)
--- a/
src/string/strcspn.c
+++ b/
src/string/strcspn.c
@@
-3,8
+3,6
@@
#define BITOP(a,b,op) \
((a)[(size_t)(b)/(8*sizeof *(a))] op (size_t)1<<((size_t)(b)%(8*sizeof *(a))))
-char *__strchrnul(const char *, int);
-
size_t strcspn(const char *s, const char *c)
{
const char *a = s;