diff options
Diffstat (limited to 'libc/string/generic/strcpy.c')
-rw-r--r-- | libc/string/generic/strcpy.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/string/generic/strcpy.c b/libc/string/generic/strcpy.c index 7e40aab3f..08c810f31 100644 --- a/libc/string/generic/strcpy.c +++ b/libc/string/generic/strcpy.c @@ -25,10 +25,7 @@ #undef strcpy /* Copy SRC to DEST. */ -char * -strcpy (dest, src) - char *dest; - const char *src; +char attribute_hidden *__strcpy (char *dest, const char *src) { reg_char c; char *__unbounded s = (char *__unbounded) CHECK_BOUNDS_LOW (src); @@ -48,3 +45,5 @@ strcpy (dest, src) return dest; } + +strong_alias(__strcpy, strcpy) |