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/vfscanf.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/vfscanf.c')
-rw-r--r-- | lib/libc/stdio/vfscanf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/vfscanf.c b/lib/libc/stdio/vfscanf.c index 2bf5161a989..27e8b575bca 100644 --- a/lib/libc/stdio/vfscanf.c +++ b/lib/libc/stdio/vfscanf.c @@ -31,7 +31,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: vfscanf.c,v 1.10 2004/09/28 18:12:44 otto Exp $"; +static char rcsid[] = "$OpenBSD: vfscanf.c,v 1.11 2005/03/31 18:36:29 pat Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdio.h> @@ -89,7 +89,7 @@ static u_char *__sccl(char *, u_char *); * vfscanf */ int -__svfscanf(FILE *fp, char const *fmt0, _BSD_VA_LIST_ ap) +__svfscanf(FILE *fp, const char *fmt0, _BSD_VA_LIST_ ap) { u_char *fmt = (u_char *)fmt0; int c; /* character from format, or conversion */ |