aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/string.in.h')
-rw-r--r--lib/string.in.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/string.in.h b/lib/string.in.h
index 2c04e5f4f71..5bc00845205 100644
--- a/lib/string.in.h
+++ b/lib/string.in.h
@@ -411,11 +411,14 @@ _GL_WARN_ON_USE (strdup, "strdup is unportable - "
411# undef strncat 411# undef strncat
412# define strncat rpl_strncat 412# define strncat rpl_strncat
413# endif 413# endif
414_GL_FUNCDECL_RPL (strncat, char *, (char *dest, const char *src, size_t n) 414_GL_FUNCDECL_RPL (strncat, char *,
415 _GL_ARG_NONNULL ((1, 2))); 415 (char *restrict dest, const char *restrict src, size_t n)
416_GL_CXXALIAS_RPL (strncat, char *, (char *dest, const char *src, size_t n)); 416 _GL_ARG_NONNULL ((1, 2)));
417_GL_CXXALIAS_RPL (strncat, char *,
418 (char *restrict dest, const char *restrict src, size_t n));
417# else 419# else
418_GL_CXXALIAS_SYS (strncat, char *, (char *dest, const char *src, size_t n)); 420_GL_CXXALIAS_SYS (strncat, char *,
421 (char *restrict dest, const char *restrict src, size_t n));
419# endif 422# endif
420# if __GLIBC__ >= 2 423# if __GLIBC__ >= 2
421_GL_CXXALIASWARN (strncat); 424_GL_CXXALIASWARN (strncat);