summaryrefslogtreecommitdiffstats
path: root/sys/netiso/tp_inet.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-03-15 18:19:52 +0000
committermillert <millert@openbsd.org>2002-03-15 18:19:52 +0000
commit28afbff99ec10f63540b43942c680ec7abbf823d (patch)
tree5a63b85b7a06f31bd641e6093f7566373a3534aa /sys/netiso/tp_inet.c
parentKill some #if __STDC__ used with 8bit function args; we live in an ANSI world (diff)
downloadwireguard-openbsd-28afbff99ec10f63540b43942c680ec7abbf823d.tar.xz
wireguard-openbsd-28afbff99ec10f63540b43942c680ec7abbf823d.zip
Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do things
the ANSI way.
Diffstat (limited to 'sys/netiso/tp_inet.c')
-rw-r--r--sys/netiso/tp_inet.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/sys/netiso/tp_inet.c b/sys/netiso/tp_inet.c
index ac0de1823de..16b7e6cf434 100644
--- a/sys/netiso/tp_inet.c
+++ b/sys/netiso/tp_inet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tp_inet.c,v 1.7 2002/03/14 01:27:12 millert Exp $ */
+/* $OpenBSD: tp_inet.c,v 1.8 2002/03/15 18:19:53 millert Exp $ */
/* $NetBSD: tp_inet.c,v 1.11 1996/03/16 23:13:49 christos Exp $ */
/*-
@@ -374,13 +374,7 @@ tpip_mtu(v)
*/
int
-#if __STDC__
tpip_output(struct mbuf *m0, ...)
-#else
-tpip_output(m0, va_alist)
- struct mbuf *m0;
- va_dcl
-#endif
{
int datalen;
struct inpcb *inp;
@@ -417,13 +411,7 @@ tpip_output(m0, va_alist)
/* ARGSUSED */
int
-#if __STDC__
tpip_output_dg(struct mbuf *m0, ...)
-#else
-tpip_output_dg(m0, va_alist)
- struct mbuf *m0;
- va_dcl
-#endif
{
int datalen;
struct in_addr *laddr, *faddr;
@@ -512,13 +500,7 @@ bad:
* NOTES:
*/
void
-#if __STDC__
tpip_input(struct mbuf *m, ...)
-#else
-tpip_input(m, va_alist)
- struct mbuf *m;
- va_dcl
-#endif
{
int iplen;
struct sockaddr_in src, dst;