diff options
Diffstat (limited to 'string/strcpy.c')
-rw-r--r-- | string/strcpy.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/string/strcpy.c b/string/strcpy.c index 3ebb51bfd9..f049e62211 100644 --- a/string/strcpy.c +++ b/string/strcpy.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 @@ -20,9 +20,13 @@ #undef strcpy +#ifndef STRCPY +# define STRCPY strcpy +#endif + /* Copy SRC to DEST. */ char * -strcpy (char *dest, const char *src) +STRCPY (char *dest, const char *src) { return memcpy (dest, src, strlen (src) + 1); } |