diff options
Diffstat (limited to 'string/strspn.c')
-rw-r--r-- | string/strspn.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/string/strspn.c b/string/strspn.c index 37e8161a28..c2d6364752 100644 --- a/string/strspn.c +++ b/string/strspn.c @@ -18,13 +18,14 @@ #include <string.h> #undef strspn +#ifndef STRSPN +#define STRSPN strspn +#endif /* Return the length of the maximum initial segment of S which contains only characters in ACCEPT. */ size_t -strspn (s, accept) - const char *s; - const char *accept; +STRSPN (const char *s, const char *accept) { const char *p; const char *a; |