summaryrefslogtreecommitdiff
path: root/string/strcat.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/strcat.c')
-rw-r--r--string/strcat.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/string/strcat.c b/string/strcat.c
index 6e1f1ab932..f229e4d831 100644
--- a/string/strcat.c
+++ b/string/strcat.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -19,9 +19,13 @@
#undef strcat
+#ifndef STRCAT
+# define STRCAT strcat
+#endif
+
/* Append SRC on the end of DEST. */
char *
-strcat (char *dest, const char *src)
+STRCAT (char *dest, const char *src)
{
strcpy (dest + strlen (dest), src);
return dest;