From 6144ee12396ed37f4d06e8bdc9e16ad7ce2a5887 Mon Sep 17 00:00:00 2001 From: Patrick Latifi Date: Thu, 31 Mar 2005 18:36:30 +0000 Subject: make sure the implementation matches the prototype.. char const * -> const char * ok otto@ deraadt@ --- lib/libc/stdio/asprintf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libc/stdio/asprintf.c') diff --git a/lib/libc/stdio/asprintf.c b/lib/libc/stdio/asprintf.c index 65b4927a42f..f93d2cd7fad 100644 --- a/lib/libc/stdio/asprintf.c +++ b/lib/libc/stdio/asprintf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asprintf.c,v 1.10 2003/06/17 21:56:24 millert Exp $ */ +/* $OpenBSD: asprintf.c,v 1.11 2005/03/31 18:36:29 pat Exp $ */ /* * Copyright (c) 1997 Todd C. Miller @@ -17,7 +17,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: asprintf.c,v 1.10 2003/06/17 21:56:24 millert Exp $"; +static char rcsid[] = "$OpenBSD: asprintf.c,v 1.11 2005/03/31 18:36:29 pat Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -26,7 +26,7 @@ static char rcsid[] = "$OpenBSD: asprintf.c,v 1.10 2003/06/17 21:56:24 millert E #include int -asprintf(char **str, char const *fmt, ...) +asprintf(char **str, const char *fmt, ...) { int ret; va_list ap; -- cgit v1.2.3