summaryrefslogtreecommitdiffstats
path: root/sys/netiso/esis.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/esis.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/esis.c')
-rw-r--r--sys/netiso/esis.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/sys/netiso/esis.c b/sys/netiso/esis.c
index 21a10ff9015..9552b89a956 100644
--- a/sys/netiso/esis.c
+++ b/sys/netiso/esis.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: esis.c,v 1.6 2001/08/19 15:07:34 miod Exp $ */
+/* $OpenBSD: esis.c,v 1.7 2002/03/15 18:19:53 millert Exp $ */
/* $NetBSD: esis.c,v 1.14 1996/05/07 02:45:04 thorpej Exp $ */
/*-
@@ -245,13 +245,7 @@ release:
* NOTES:
*/
void
-#if __STDC__
esis_input(struct mbuf *m0, ...)
-#else
-esis_input(m0, va_alist)
- struct mbuf *m0;
- va_dcl
-#endif
{
struct snpa_hdr *shp; /* subnetwork header */
register struct esis_fixed *pdu = mtod(m0, struct esis_fixed *);
@@ -1003,13 +997,7 @@ esis_shoutput(ifp, type, ht, sn_addr, sn_len, isoa)
* NOTES:
*/
void
-#if __STDC__
isis_input(struct mbuf *m0, ...)
-#else
-isis_input(m0, va_alist)
- struct mbuf *m0;
- va_dcl
-#endif
{
struct snpa_hdr *shp; /* subnetwork header */
register struct rawcb *rp, *first_rp = 0;
@@ -1072,13 +1060,7 @@ isis_input(m0, va_alist)
}
int
-#if __STDC__
isis_output(struct mbuf *m, ...)
-#else
-isis_output(m, va_alist)
- struct mbuf *m;
- va_dcl
-#endif
{
register struct sockaddr_dl *sdl;
register struct ifnet *ifp;