summaryrefslogtreecommitdiffstats
path: root/libc/string/generic/strncat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/generic/strncat.c')
-rw-r--r--libc/string/generic/strncat.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libc/string/generic/strncat.c b/libc/string/generic/strncat.c
index a3d283bf7..f35e0865b 100644
--- a/libc/string/generic/strncat.c
+++ b/libc/string/generic/strncat.c
@@ -22,11 +22,7 @@
#undef strncat
-char *
-strncat (s1, s2, n)
- char *s1;
- const char *s2;
- size_t n;
+char attribute_hidden *__strncat (char *s1, const char *s2, size_t n)
{
reg_char c;
char *s = s1;
@@ -79,3 +75,5 @@ strncat (s1, s2, n)
return s;
}
+
+strong_alias(__strncat, strncat)