summaryrefslogtreecommitdiffstats
path: root/sys/netccitt/hd_output.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/netccitt/hd_output.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/netccitt/hd_output.c')
-rw-r--r--sys/netccitt/hd_output.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/netccitt/hd_output.c b/sys/netccitt/hd_output.c
index 3ffca89ca57..bb8f77ee0ad 100644
--- a/sys/netccitt/hd_output.c
+++ b/sys/netccitt/hd_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hd_output.c,v 1.3 1996/05/10 12:31:15 deraadt Exp $ */
+/* $OpenBSD: hd_output.c,v 1.4 2002/03/15 18:19:52 millert Exp $ */
/* $NetBSD: hd_output.c,v 1.7 1996/05/07 02:36:06 thorpej Exp $ */
/*
@@ -70,13 +70,7 @@
*/
int
-#if __STDC__
hd_output(struct mbuf *m0, ...)
-#else
-hd_output(m0, va_alist)
- struct mbuf *m0;
- va_dcl
-#endif
{
register struct hdcb *hdp;
register struct mbuf *m = m0;
@@ -211,13 +205,7 @@ hd_send_iframe(hdp, buf, poll_bit)
}
int
-#if __STDC__
hd_ifoutput(struct mbuf *m, ...)
-#else
-hd_ifoutput(m, va_alist)
- struct mbuf *m;
- va_dcl
-#endif
{
register struct hdcb *hdp;
register struct ifnet *ifp;