diff options
author | 2005-03-31 18:36:29 +0000 | |
---|---|---|
committer | 2005-03-31 18:36:29 +0000 | |
commit | 9e8959400bf6323a88dbfd54158c26492eb3f44c (patch) | |
tree | da30438c107274038a96aae8ef672007e5b2ae33 /lib/libc/stdio/asprintf.c | |
parent | +YFLAGS= (diff) | |
download | wireguard-openbsd-9e8959400bf6323a88dbfd54158c26492eb3f44c.tar.xz wireguard-openbsd-9e8959400bf6323a88dbfd54158c26492eb3f44c.zip |
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; |