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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/string/generic/strncpy.c b/libc/string/generic/strncpy.c
index a43c48502..ca4f59e52 100644
--- a/libc/string/generic/strncpy.c
+++ b/libc/string/generic/strncpy.c
@@ -19,8 +19,6 @@
#include <string.h>
#include "memcopy.h"
-#undef strncpy
-
char attribute_hidden *__strncpy (char *s1, const char *s2, size_t n)
{
reg_char c;
@@ -81,4 +79,4 @@ char attribute_hidden *__strncpy (char *s1, const char *s2, size_t n)
return s;
}
-strong_alias(__strncpy, strncpy)
+strong_alias(__strncpy,strncpy)