summaryrefslogtreecommitdiff
path: root/sys/netiso/tp_cons.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-15 18:19:54 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-15 18:19:54 +0000
commitde0519636e72969a9359cf27a32e00375235e343 (patch)
tree3670fa3ad7bf3bf88d6e1ab3add73f82987d555e /sys/netiso/tp_cons.c
parente018051dbb8764df0d8660f8e0e82fa3eaefb0c4 (diff)
Kill #if __STDC__ used to do K&R vs. ANSI varargs/stdarg; just do things
the ANSI way.
Diffstat (limited to 'sys/netiso/tp_cons.c')
-rw-r--r--sys/netiso/tp_cons.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/sys/netiso/tp_cons.c b/sys/netiso/tp_cons.c
index 42a1449fe27..7ecb8657c43 100644
--- a/sys/netiso/tp_cons.c
+++ b/sys/netiso/tp_cons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tp_cons.c,v 1.7 2002/03/14 01:27:12 millert Exp $ */
+/* $OpenBSD: tp_cons.c,v 1.8 2002/03/15 18:19:53 millert Exp $ */
/* $NetBSD: tp_cons.c,v 1.8 1996/02/14 21:32:37 christos Exp $ */
/*-
@@ -222,13 +222,7 @@ tpcons_ctlinput(cmd, siso, v)
* No return value.
*/
void
-#if __STDC__
tpcons_input(struct mbuf *m, ...)
-#else
-tpcons_input(m, va_alist)
- struct mbuf *m;
- va_dcl
-#endif
{
struct sockaddr *faddr, *laddr;
caddr_t channel;
@@ -266,13 +260,7 @@ tpcons_input(m, va_alist)
*/
int
-#if __STDC__
tpcons_output(struct mbuf *m0, ...)
-#else
-tpcons_output(m0, va_alist)
- struct mbuf *m0;
- va_dcl
-#endif
{
struct isopcb *isop;
int datalen;
@@ -341,13 +329,7 @@ tpcons_output(m0, va_alist)
*/
int
-#if __STDC__
tpcons_output_dg(struct mbuf *m0, ...)
-#else
-tpcons_output_dg(m0, va_alist)
- struct mbuf *m0;
- va_dcl
-#endif
{
int datalen;
caddr_t chan;
@@ -371,13 +353,7 @@ struct mbuf;
int tpcons_output(struct mbuf *m0, ...);
int
-#if __STDC__
tpcons_output(struct mbuf *m0, ...)
-#else
-tpcons_output(m0, va_alist)
- struct mbuf *m0;
- va_dcl
-#endif
{
return 0;
}