From 6b8c0cedae3cfcdbd04dc1ffca2913f46f1a0cfd Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 15 Nov 2005 14:51:40 +0000 Subject: Correct Warning: function declaration isn't a prototype --- libc/string/generic/strcpy.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libc/string/generic/strcpy.c') diff --git a/libc/string/generic/strcpy.c b/libc/string/generic/strcpy.c index 7ecdfc9cb..08c810f31 100644 --- a/libc/string/generic/strcpy.c +++ b/libc/string/generic/strcpy.c @@ -25,9 +25,7 @@ #undef strcpy /* Copy SRC to DEST. */ -char attribute_hidden *__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); -- cgit v1.2.3