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/strcat.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libc/string/generic/strcat.c') diff --git a/libc/string/generic/strcat.c b/libc/string/generic/strcat.c index 58bf186c1..0996f9a29 100644 --- a/libc/string/generic/strcat.c +++ b/libc/string/generic/strcat.c @@ -22,9 +22,7 @@ #undef strcat /* Append SRC on the end of DEST. */ -char attribute_hidden *__strcat (dest, src) - char *dest; - const char *src; +char attribute_hidden *__strcat (char *dest, const char *src) { char *s1 = dest; const char *s2 = src; -- cgit v1.2.3