summaryrefslogtreecommitdiffstats
path: root/sys/net/pf_osfp.c
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2004-01-03 14:08:52 +0000
committerespie <espie@openbsd.org>2004-01-03 14:08:52 +0000
commit7034f964200210b046bd85f3226a5779a20054e6 (patch)
treee7e619472ec44496184e787b6aef3f1d9aeb4111 /sys/net/pf_osfp.c
parentcope with changed imsg_read semantics (diff)
downloadwireguard-openbsd-7034f964200210b046bd85f3226a5779a20054e6.tar.xz
wireguard-openbsd-7034f964200210b046bd85f3226a5779a20054e6.zip
put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros
to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@.
Diffstat (limited to 'sys/net/pf_osfp.c')
-rw-r--r--sys/net/pf_osfp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pf_osfp.c b/sys/net/pf_osfp.c
index 08b29c72da0..52d9058fe35 100644
--- a/sys/net/pf_osfp.c
+++ b/sys/net/pf_osfp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_osfp.c,v 1.5 2003/12/19 20:09:01 dhartmei Exp $ */
+/* $OpenBSD: pf_osfp.c,v 1.6 2004/01/03 14:08:53 espie Exp $ */
/*
* Copyright (c) 2003 Mike Frantzen <frantzen@w4g.org>
@@ -56,7 +56,7 @@ typedef struct pool pool_t;
# define pool_init(pool, size, a, ao, f, m, p) (*(pool)) = (size)
# ifdef PFDEBUG
-# include <stdarg.h>
+# include <sys/stdarg.h>
# define DPFPRINTF(format, x...) fprintf(stderr, format , ##x)
# else
# define DPFPRINTF(format, x...) ((void)0)