summaryrefslogtreecommitdiff
path: root/libc/string/generic/strncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/generic/strncpy.c')
-rw-r--r--libc/string/generic/strncpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/string/generic/strncpy.c b/libc/string/generic/strncpy.c
index 3c9ccb9ce..4b0b0894e 100644
--- a/libc/string/generic/strncpy.c
+++ b/libc/string/generic/strncpy.c
@@ -19,6 +19,7 @@
#include <string.h>
#include "memcopy.h"
+libc_hidden_proto(strncpy)
char *strncpy (char *s1, const char *s2, size_t n)
{
reg_char c;
@@ -78,5 +79,4 @@ char *strncpy (char *s1, const char *s2, size_t n)
return s;
}
-libc_hidden_proto(strncpy)
libc_hidden_def(strncpy)