summaryrefslogtreecommitdiff
path: root/libc/string/generic/strspn.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/generic/strspn.c')
-rw-r--r--libc/string/generic/strspn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/generic/strspn.c b/libc/string/generic/strspn.c
index cd2882456..a194fdc7d 100644
--- a/libc/string/generic/strspn.c
+++ b/libc/string/generic/strspn.c
@@ -18,6 +18,7 @@
#include <string.h>
+libc_hidden_proto(strspn)
/* Return the length of the maximum initial segment
of S which contains only characters in ACCEPT. */
size_t strspn (const char *s, const char *accept)
@@ -39,5 +40,4 @@ size_t strspn (const char *s, const char *accept)
return count;
}
-libc_hidden_proto(strspn)
libc_hidden_def(strspn)