summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vsnprintf.c
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2005-10-10 12:00:52 +0000
committerespie <espie@openbsd.org>2005-10-10 12:00:52 +0000
commitffd953dfae82e3b0e8b905f4243cb45b9174eedc (patch)
treecaa92540694c4802052e87653260b3ca7e27cfad /lib/libc/stdio/vsnprintf.c
parentless verbose listing of libraries (diff)
downloadwireguard-openbsd-ffd953dfae82e3b0e8b905f4243cb45b9174eedc.tar.xz
wireguard-openbsd-ffd953dfae82e3b0e8b905f4243cb45b9174eedc.zip
Remove a few warnings. Those were not apparent thanks to a bug in gcc 2.95.
Patch by Leonardo Chiquitto Filho <leonardo@iken.com.br> Thanks.
Diffstat (limited to 'lib/libc/stdio/vsnprintf.c')
-rw-r--r--lib/libc/stdio/vsnprintf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/vsnprintf.c b/lib/libc/stdio/vsnprintf.c
index d9fb7f8872c..9064571c4d7 100644
--- a/lib/libc/stdio/vsnprintf.c
+++ b/lib/libc/stdio/vsnprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vsnprintf.c,v 1.10 2005/08/08 08:05:36 espie Exp $ */
+/* $OpenBSD: vsnprintf.c,v 1.11 2005/10/10 12:00:52 espie Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -33,6 +33,7 @@
#include <limits.h>
#include <stdio.h>
+#include <string.h>
#include "local.h"
int