summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfwprintf.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/vfwprintf.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/vfwprintf.c')
-rw-r--r--lib/libc/stdio/vfwprintf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdio/vfwprintf.c b/lib/libc/stdio/vfwprintf.c
index 0619772323d..f76eed3e24c 100644
--- a/lib/libc/stdio/vfwprintf.c
+++ b/lib/libc/stdio/vfwprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfwprintf.c,v 1.5 2012/06/26 14:53:23 matthew Exp $ */
+/* $OpenBSD: vfwprintf.c,v 1.6 2013/04/17 17:40:35 tedu Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -54,6 +54,8 @@
#include "local.h"
#include "fvwrite.h"
+wint_t __fputwc_unlock(wchar_t wc, FILE *fp);
+
union arg {
int intarg;
unsigned int uintarg;