aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/strncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/strncpy.c')
-rw-r--r--sysdeps/generic/strncpy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/generic/strncpy.c b/sysdeps/generic/strncpy.c
index 06f5cec2ed..24c7269b09 100644
--- a/sysdeps/generic/strncpy.c
+++ b/sysdeps/generic/strncpy.c
@@ -19,6 +19,7 @@
#include <string.h>
#include <memcopy.h>
+#undef strncpy
char *
strncpy (s1, s2, n)