summaryrefslogtreecommitdiff
path: root/sys/netiso
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/netiso
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/netiso')
-rw-r--r--sys/netiso/clnp_input.c4
-rw-r--r--sys/netiso/clnp_output.c4
-rw-r--r--sys/netiso/clnp_raw.c4
-rw-r--r--sys/netiso/cltp_usrreq.c4
-rw-r--r--sys/netiso/esis.c4
-rw-r--r--sys/netiso/idrp_usrreq.c4
-rw-r--r--sys/netiso/if_eon.c4
-rw-r--r--sys/netiso/tp_cons.c4
-rw-r--r--sys/netiso/tp_inet.c4
-rw-r--r--sys/netiso/tp_input.c4
-rw-r--r--sys/netiso/tp_iso.c4
-rw-r--r--sys/netiso/tuba_subr.c4
12 files changed, 24 insertions, 24 deletions
diff --git a/sys/netiso/clnp_input.c b/sys/netiso/clnp_input.c
index 83e8fc32c15..c77d9c6947d 100644
--- a/sys/netiso/clnp_input.c
+++ b/sys/netiso/clnp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clnp_input.c,v 1.7 2003/12/10 07:22:43 itojun Exp $ */
+/* $OpenBSD: clnp_input.c,v 1.8 2004/01/03 14:08:54 espie Exp $ */
/* $NetBSD: clnp_input.c,v 1.12 1996/04/13 01:34:26 cgd Exp $ */
/*-
@@ -86,7 +86,7 @@ SOFTWARE.
#include <netiso/clnp_stat.h>
#include <netiso/argo_debug.h>
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
#ifdef ISO
u_char clnp_protox[ISOPROTO_MAX];
diff --git a/sys/netiso/clnp_output.c b/sys/netiso/clnp_output.c
index 890c7b5de89..3a25b6a08b2 100644
--- a/sys/netiso/clnp_output.c
+++ b/sys/netiso/clnp_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clnp_output.c,v 1.6 2003/12/10 07:22:43 itojun Exp $ */
+/* $OpenBSD: clnp_output.c,v 1.7 2004/01/03 14:08:54 espie Exp $ */
/* $NetBSD: clnp_output.c,v 1.9 1996/04/13 01:34:32 cgd Exp $ */
/*-
@@ -79,7 +79,7 @@ SOFTWARE.
#include <netiso/clnp_stat.h>
#include <netiso/argo_debug.h>
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
static struct clnp_fixed dt_template = {
ISO8473_CLNP, /* network identifier */
diff --git a/sys/netiso/clnp_raw.c b/sys/netiso/clnp_raw.c
index 2bd0c5abcfb..77e5a4c6dd4 100644
--- a/sys/netiso/clnp_raw.c
+++ b/sys/netiso/clnp_raw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clnp_raw.c,v 1.6 2003/12/10 07:22:43 itojun Exp $ */
+/* $OpenBSD: clnp_raw.c,v 1.7 2004/01/03 14:08:54 espie Exp $ */
/* $NetBSD: clnp_raw.c,v 1.9 1996/02/13 22:08:42 christos Exp $ */
/*-
@@ -81,7 +81,7 @@ SOFTWARE.
#include <netiso/tp_user.h> /* XXX -- defines SOL_NETWORK */
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
struct sockproto rclnp_proto = {PF_ISO, 0};
/*
diff --git a/sys/netiso/cltp_usrreq.c b/sys/netiso/cltp_usrreq.c
index a6aa9606e75..0115b3ca50f 100644
--- a/sys/netiso/cltp_usrreq.c
+++ b/sys/netiso/cltp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cltp_usrreq.c,v 1.6 2003/12/10 07:22:43 itojun Exp $ */
+/* $OpenBSD: cltp_usrreq.c,v 1.7 2004/01/03 14:08:54 espie Exp $ */
/* $NetBSD: cltp_usrreq.c,v 1.9 1996/02/13 22:08:59 christos Exp $ */
/*
@@ -55,7 +55,7 @@
#include <netiso/tp_param.h>
#include <netiso/tp_var.h>
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
#endif
diff --git a/sys/netiso/esis.c b/sys/netiso/esis.c
index 0b2d4fe9e9d..b8537438b5d 100644
--- a/sys/netiso/esis.c
+++ b/sys/netiso/esis.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: esis.c,v 1.9 2003/12/10 07:22:43 itojun Exp $ */
+/* $OpenBSD: esis.c,v 1.10 2004/01/03 14:08:54 espie Exp $ */
/* $NetBSD: esis.c,v 1.14 1996/05/07 02:45:04 thorpej Exp $ */
/*-
@@ -87,7 +87,7 @@ SOFTWARE.
#include <netiso/esis.h>
#include <netiso/argo_debug.h>
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
/*
* Global variables to esis implementation
*
diff --git a/sys/netiso/idrp_usrreq.c b/sys/netiso/idrp_usrreq.c
index d91fe88e3a7..027195535d9 100644
--- a/sys/netiso/idrp_usrreq.c
+++ b/sys/netiso/idrp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: idrp_usrreq.c,v 1.5 2003/12/10 07:22:43 itojun Exp $ */
+/* $OpenBSD: idrp_usrreq.c,v 1.6 2004/01/03 14:08:54 espie Exp $ */
/* $NetBSD: idrp_usrreq.c,v 1.5 1996/02/13 22:09:33 christos Exp $ */
/*
@@ -53,7 +53,7 @@
#include <netiso/iso_var.h>
#include <netiso/idrp_var.h>
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
struct isopcb idrp_isop;
static struct sockaddr_iso idrp_addrs[2] =
diff --git a/sys/netiso/if_eon.c b/sys/netiso/if_eon.c
index ff83666fd1d..eeb0fd4636a 100644
--- a/sys/netiso/if_eon.c
+++ b/sys/netiso/if_eon.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_eon.c,v 1.22 2003/12/10 07:22:44 itojun Exp $ */
+/* $OpenBSD: if_eon.c,v 1.23 2004/01/03 14:08:54 espie Exp $ */
/* $NetBSD: if_eon.c,v 1.15 1996/05/09 22:29:37 scottr Exp $ */
/*-
@@ -103,7 +103,7 @@ SOFTWARE.
#include <netiso/iso_errno.h>
#include <netiso/eonvar.h>
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
extern struct timeval time;
diff --git a/sys/netiso/tp_cons.c b/sys/netiso/tp_cons.c
index b323eb219f4..a072bb74b56 100644
--- a/sys/netiso/tp_cons.c
+++ b/sys/netiso/tp_cons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tp_cons.c,v 1.10 2003/12/10 07:22:44 itojun Exp $ */
+/* $OpenBSD: tp_cons.c,v 1.11 2004/01/03 14:08:54 espie Exp $ */
/* $NetBSD: tp_cons.c,v 1.8 1996/02/14 21:32:37 christos Exp $ */
/*-
@@ -105,7 +105,7 @@ SOFTWARE.
#include <netccitt/pk_var.h>
#include <netccitt/pk_extern.h>
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
#include <netiso/if_cons.c>
diff --git a/sys/netiso/tp_inet.c b/sys/netiso/tp_inet.c
index 7d8351188ad..7d286a9d337 100644
--- a/sys/netiso/tp_inet.c
+++ b/sys/netiso/tp_inet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tp_inet.c,v 1.13 2003/12/10 07:22:44 itojun Exp $ */
+/* $OpenBSD: tp_inet.c,v 1.14 2004/01/03 14:08:54 espie Exp $ */
/* $NetBSD: tp_inet.c,v 1.11 1996/03/16 23:13:49 christos Exp $ */
/*-
@@ -100,7 +100,7 @@ SOFTWARE.
#include <netiso/iso_chksum.c>
#endif
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
/*
* NAME: in_getsufx()
diff --git a/sys/netiso/tp_input.c b/sys/netiso/tp_input.c
index ecc198b9a34..de376b60604 100644
--- a/sys/netiso/tp_input.c
+++ b/sys/netiso/tp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tp_input.c,v 1.7 2003/12/10 07:22:44 itojun Exp $ */
+/* $OpenBSD: tp_input.c,v 1.8 2004/01/03 14:08:54 espie Exp $ */
/* $NetBSD: tp_input.c,v 1.9 1996/03/16 23:13:51 christos Exp $ */
/*-
@@ -113,7 +113,7 @@ SOFTWARE.
#include <netccitt/pk.h>
#include <netccitt/pk_var.h>
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
static struct socket *tp_newsocket(struct socket *, struct sockaddr *,
caddr_t, u_int, u_int);
diff --git a/sys/netiso/tp_iso.c b/sys/netiso/tp_iso.c
index 0c0d7811e8b..8134e725e30 100644
--- a/sys/netiso/tp_iso.c
+++ b/sys/netiso/tp_iso.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tp_iso.c,v 1.8 2003/12/10 07:22:44 itojun Exp $ */
+/* $OpenBSD: tp_iso.c,v 1.9 2004/01/03 14:08:54 espie Exp $ */
/* $NetBSD: tp_iso.c,v 1.8 1996/03/16 23:13:54 christos Exp $ */
/*-
@@ -108,7 +108,7 @@ SOFTWARE.
#include <netiso/tuba_table.h>
#endif
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
/*
* CALLED FROM:
diff --git a/sys/netiso/tuba_subr.c b/sys/netiso/tuba_subr.c
index 6749d59d8cb..fd67c5902fe 100644
--- a/sys/netiso/tuba_subr.c
+++ b/sys/netiso/tuba_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tuba_subr.c,v 1.13 2003/12/10 07:22:44 itojun Exp $ */
+/* $OpenBSD: tuba_subr.c,v 1.14 2004/01/03 14:08:54 espie Exp $ */
/* $NetBSD: tuba_subr.c,v 1.7 1996/02/13 22:12:32 christos Exp $ */
/*
@@ -67,7 +67,7 @@
#include <netiso/tuba_table.h>
#include <dev/rndvar.h>
-#include <machine/stdarg.h>
+#include <sys/stdarg.h>
static struct sockaddr_iso null_siso = {sizeof(null_siso), AF_ISO,};
extern int tuba_table_size, tcp_keepidle, tcp_keepintvl, tcp_maxidle;