summaryrefslogtreecommitdiff
path: root/libc/string/i386/strnlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/i386/strnlen.c')
-rw-r--r--libc/string/i386/strnlen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/i386/strnlen.c b/libc/string/i386/strnlen.c
index 7d9042fa4..6b565dbd8 100644
--- a/libc/string/i386/strnlen.c
+++ b/libc/string/i386/strnlen.c
@@ -33,6 +33,7 @@
#define _GNU_SOURCE
#include <string.h>
+libc_hidden_proto(strnlen)
size_t strnlen(const char *s, size_t count)
{
int d0;
@@ -51,5 +52,4 @@ size_t strnlen(const char *s, size_t count)
:"c" (s),"1" (count));
return __res;
}
-libc_hidden_proto(strnlen)
libc_hidden_def(strnlen)