diff options
author | Patrick Latifi <pat@cvs.openbsd.org> | 2005-03-31 18:36:30 +0000 |
---|---|---|
committer | Patrick Latifi <pat@cvs.openbsd.org> | 2005-03-31 18:36:30 +0000 |
commit | 6144ee12396ed37f4d06e8bdc9e16ad7ce2a5887 (patch) | |
tree | ce369b3a06db4e7b1407c3034c88f7aaba09cb05 /lib/libc/stdio/asprintf.c | |
parent | c58021fbd559f74cb8e182e26811eee233417b84 (diff) |
make sure the implementation matches the prototype..
char const * -> const char *
ok otto@ deraadt@
Diffstat (limited to 'lib/libc/stdio/asprintf.c')
-rw-r--r-- | lib/libc/stdio/asprintf.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <Todd.Miller@courtesan.com> @@ -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 <stdio.h> @@ -26,7 +26,7 @@ static char rcsid[] = "$OpenBSD: asprintf.c,v 1.10 2003/06/17 21:56:24 millert E #include <stdarg.h> int -asprintf(char **str, char const *fmt, ...) +asprintf(char **str, const char *fmt, ...) { int ret; va_list ap; |