summaryrefslogtreecommitdiff
path: root/libc/string/i386/strncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/i386/strncpy.c')
-rw-r--r--libc/string/i386/strncpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/i386/strncpy.c b/libc/string/i386/strncpy.c
index dde4d3ee1..c061fe37e 100644
--- a/libc/string/i386/strncpy.c
+++ b/libc/string/i386/strncpy.c
@@ -32,6 +32,7 @@
#include <string.h>
+libc_hidden_proto(strncpy)
char *strncpy(char * dest, const char * src, size_t count)
{
int d0, d1, d2, d3;
@@ -52,5 +53,4 @@ char *strncpy(char * dest, const char * src, size_t count)
:"0" (src),"1" (dest),"2" (count) : "memory");
return dest;
}
-libc_hidden_proto(strncpy)
libc_hidden_def(strncpy)