diff options
Diffstat (limited to 'lib/string.c')
-rw-r--r-- | lib/string.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/string.c b/lib/string.c index 037a48acedbb..7be6f0a87e83 100644 --- a/lib/string.c +++ b/lib/string.c | |||
@@ -362,6 +362,7 @@ size_t strspn(const char *s, const char *accept) | |||
362 | EXPORT_SYMBOL(strspn); | 362 | EXPORT_SYMBOL(strspn); |
363 | #endif | 363 | #endif |
364 | 364 | ||
365 | #ifndef __HAVE_ARCH_STRCSPN | ||
365 | /** | 366 | /** |
366 | * strcspn - Calculate the length of the initial substring of @s which does | 367 | * strcspn - Calculate the length of the initial substring of @s which does |
367 | * not contain letters in @reject | 368 | * not contain letters in @reject |
@@ -384,6 +385,7 @@ size_t strcspn(const char *s, const char *reject) | |||
384 | return count; | 385 | return count; |
385 | } | 386 | } |
386 | EXPORT_SYMBOL(strcspn); | 387 | EXPORT_SYMBOL(strcspn); |
388 | #endif | ||
387 | 389 | ||
388 | #ifndef __HAVE_ARCH_STRPBRK | 390 | #ifndef __HAVE_ARCH_STRPBRK |
389 | /** | 391 | /** |