summaryrefslogtreecommitdiff
path: root/sys/netns
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-01-03 14:08:55 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-01-03 14:08:55 +0000
commitf8086ce091549315cd470bcea8c56fa4ee438f1b (patch)
treed72e268347fd3adc8cb53eaf4269e281dd46ab47 /sys/netns
parent31ec8d6d746e8bf365990ee271f1a77c3c1e3d0a (diff)
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/netns')
-rw-r--r--sys/netns/idp_usrreq.c4
-rw-r--r--sys/netns/ns_ip.c4
-rw-r--r--sys/netns/ns_output.c4
-rw-r--r--sys/netns/spp_usrreq.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/netns/idp_usrreq.c b/sys/netns/idp_usrreq.c
index 5cf3fd37af1..a6aea8af4b4 100644
--- a/sys/netns/idp_usrreq.c
+++ b/sys/netns/idp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: idp_usrreq.c,v 1.7 2003/12/10 07:22:44 itojun Exp $ */
+/* $OpenBSD: idp_usrreq.c,v 1.8 2004/01/03 14:08:54 espie Exp $ */
/* $NetBSD: idp_usrreq.c,v 1.9 1996/02/13 22:13:43 christos Exp $ */
/*
@@ -53,7 +53,7 @@
#include <netns/idp_var.h>
#include <netns/ns_error.h>
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
/*
* IDP protocol implementation.
diff --git a/sys/netns/ns_ip.c b/sys/netns/ns_ip.c
index 2b785531c57..54cfa83aaeb 100644
--- a/sys/netns/ns_ip.c
+++ b/sys/netns/ns_ip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ns_ip.c,v 1.19 2003/12/10 07:22:44 itojun Exp $ */
+/* $OpenBSD: ns_ip.c,v 1.20 2004/01/03 14:08:54 espie Exp $ */
/* $NetBSD: ns_ip.c,v 1.16 1996/05/09 22:29:40 scottr Exp $ */
/*
@@ -64,7 +64,7 @@
#include <netns/ns_var.h>
#include <netns/idp.h>
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
struct ifnet_en {
struct ifnet ifen_ifnet;
diff --git a/sys/netns/ns_output.c b/sys/netns/ns_output.c
index bb2103b6eba..f68b04aae1a 100644
--- a/sys/netns/ns_output.c
+++ b/sys/netns/ns_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ns_output.c,v 1.5 2003/12/10 07:22:44 itojun Exp $ */
+/* $OpenBSD: ns_output.c,v 1.6 2004/01/03 14:08:54 espie Exp $ */
/* $NetBSD: ns_output.c,v 1.8 1996/02/13 22:14:01 christos Exp $ */
/*
@@ -49,7 +49,7 @@
#include <netns/idp.h>
#include <netns/idp_var.h>
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
int ns_hold_output = 0;
int ns_copy_output = 0;
diff --git a/sys/netns/spp_usrreq.c b/sys/netns/spp_usrreq.c
index 0e5b6323796..2a112ee73c5 100644
--- a/sys/netns/spp_usrreq.c
+++ b/sys/netns/spp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spp_usrreq.c,v 1.17 2003/12/10 07:22:44 itojun Exp $ */
+/* $OpenBSD: spp_usrreq.c,v 1.18 2004/01/03 14:08:54 espie Exp $ */
/* $NetBSD: spp_usrreq.c,v 1.9 1996/02/13 22:14:13 christos Exp $ */
/*
@@ -57,7 +57,7 @@
#include <netns/spp_var.h>
#include <netns/spp_debug.h>
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
/*
* SP protocol implementation.