diff options
Diffstat (limited to 'string/strncat.c')
-rw-r--r-- | string/strncat.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/string/strncat.c b/string/strncat.c index 71a13eec0b..1904811709 100644 --- a/string/strncat.c +++ b/string/strncat.c @@ -20,6 +20,7 @@ #ifndef STRNCAT # undef strncat # define STRNCAT strncat +# define STRNCAT_PRIMARY #endif char * @@ -37,3 +38,7 @@ STRNCAT (char *s1, const char *s2, size_t n) return s; } +#ifdef STRNCAT_PRIMARY +strong_alias (STRNCAT, __strncat) +libc_hidden_def (__strncat) +#endif |