summaryrefslogtreecommitdiff
path: root/libc/string/generic/strcspn.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/generic/strcspn.c')
-rw-r--r--libc/string/generic/strcspn.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/string/generic/strcspn.c b/libc/string/generic/strcspn.c
index a10912e25..a06577bca 100644
--- a/libc/string/generic/strcspn.c
+++ b/libc/string/generic/strcspn.c
@@ -18,8 +18,6 @@
#include <string.h>
-#undef strcspn
-
/* Return the length of the maximum initial segment of S
which contains no characters from REJECT. */
size_t attribute_hidden __strcspn (const char *s, const char *reject)
@@ -35,4 +33,4 @@ size_t attribute_hidden __strcspn (const char *s, const char *reject)
return count;
}
-strong_alias(__strcspn, strcspn)
+strong_alias(__strcspn,strcspn)