summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2004-01-05 00:16:56 +0000
committerespie <espie@openbsd.org>2004-01-05 00:16:56 +0000
commit978b6da0c7ad8dec81f4888f7add632ca97b996b (patch)
treee6c6bceb3970c25f97f052243b6daa7c8ae0e219
parentMajor overhaul of our master boot record. (diff)
downloadwireguard-openbsd-978b6da0c7ad8dec81f4888f7add632ca97b996b.tar.xz
wireguard-openbsd-978b6da0c7ad8dec81f4888f7add632ca97b996b.zip
unobfuscate systm.h: use va_list for vprintf.
_BSD_VA_LIST_ explained by millert@, okay drahn@
-rw-r--r--sys/sys/systm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/systm.h b/sys/sys/systm.h
index 32dac8f1eab..51002fd67f4 100644
--- a/sys/sys/systm.h
+++ b/sys/sys/systm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: systm.h,v 1.59 2004/01/03 14:08:54 espie Exp $ */
+/* $OpenBSD: systm.h,v 1.60 2004/01/05 00:16:56 espie Exp $ */
/* $NetBSD: systm.h,v 1.50 1996/06/09 04:55:09 briggs Exp $ */
/*-
@@ -161,7 +161,7 @@ int printf(const char *, ...)
__attribute__((__format__(__kprintf__,1,2)));
void uprintf(const char *, ...)
__attribute__((__format__(__kprintf__,1,2)));
-int vprintf(const char *, _BSD_VA_LIST_);
+int vprintf(const char *, va_list);
int vsprintf(char *, const char *, va_list);
int sprintf(char *buf, const char *, ...)
__attribute__((__format__(__kprintf__,2,3)));