summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfscanf.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2013-04-17 17:40:35 +0000
committertedu <tedu@openbsd.org>2013-04-17 17:40:35 +0000
commit928cef96820a77291fe483e919fcbcc7abcb3319 (patch)
tree6d2f17e88a0caab51454d7a136558371549f03ca /lib/libc/stdio/vfscanf.c
parentsilence some warnings by adding prototypes, casts, and headers as (diff)
downloadwireguard-openbsd-928cef96820a77291fe483e919fcbcc7abcb3319.tar.xz
wireguard-openbsd-928cef96820a77291fe483e919fcbcc7abcb3319.zip
add some prototypes, casts, includes, parenthesis, and whatnot to
silence some warnings.
Diffstat (limited to 'lib/libc/stdio/vfscanf.c')
-rw-r--r--lib/libc/stdio/vfscanf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/vfscanf.c b/lib/libc/stdio/vfscanf.c
index 10aac0002e4..c2996a971a0 100644
--- a/lib/libc/stdio/vfscanf.c
+++ b/lib/libc/stdio/vfscanf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfscanf.c,v 1.29 2012/01/18 14:01:38 stsp Exp $ */
+/* $OpenBSD: vfscanf.c,v 1.30 2013/04/17 17:40:35 tedu Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -32,6 +32,7 @@
*/
#include <ctype.h>
+#include <wctype.h>
#include <inttypes.h>
#include <stdarg.h>
#include <stddef.h>