summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fputws.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/fputws.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/fputws.c')
-rw-r--r--lib/libc/stdio/fputws.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdio/fputws.c b/lib/libc/stdio/fputws.c
index ee76c5bebb8..c4c2d8ea068 100644
--- a/lib/libc/stdio/fputws.c
+++ b/lib/libc/stdio/fputws.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fputws.c,v 1.5 2009/11/09 00:18:27 kurt Exp $ */
+/* $OpenBSD: fputws.c,v 1.6 2013/04/17 17:40:35 tedu Exp $ */
/* $NetBSD: fputws.c,v 1.1 2003/03/07 07:11:37 tshiozak Exp $ */
/*-
@@ -35,6 +35,8 @@
#include <wchar.h>
#include "local.h"
+wint_t __fputwc_unlock(wchar_t wc, FILE *fp);
+
int
fputws(ws, fp)
const wchar_t * __restrict ws;