From 8b8dbd55c03a21feeac55359b56f5157a6225d33 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Fri, 5 Dec 2025 15:59:33 +0900 Subject: Avoid K&R-style function definition. * src/stpcpy.c (__stpcpy): Supply function prototype. -- Signed-off-by: NIIBE Yutaka --- src/stpcpy.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/stpcpy.c b/src/stpcpy.c index 060df118..8cb458ff 100644 --- a/src/stpcpy.c +++ b/src/stpcpy.c @@ -31,9 +31,7 @@ /* Copy SRC to DEST, returning the address of the terminating '\0' in DEST. */ char * -__stpcpy (dest, src) - char *dest; - const char *src; +__stpcpy (char *dest, const char *src) { register char *d = dest; register const char *s = src; -- cgit