summaryrefslogtreecommitdiff
path: root/sys/netiso/clnp_raw.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/clnp_raw.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/clnp_raw.c')
-rw-r--r--sys/netiso/clnp_raw.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/netiso/clnp_raw.c b/sys/netiso/clnp_raw.c
index 287f31d7494..3fb5782298a 100644
--- a/sys/netiso/clnp_raw.c
+++ b/sys/netiso/clnp_raw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clnp_raw.c,v 1.3 2001/05/16 12:54:06 ho Exp $ */
+/* $OpenBSD: clnp_raw.c,v 1.4 2002/03/15 18:19:53 millert Exp $ */
/* $NetBSD: clnp_raw.c,v 1.9 1996/02/13 22:08:42 christos Exp $ */
/*-
@@ -103,13 +103,7 @@ struct sockproto rclnp_proto = {PF_ISO, 0};
* indicating no protocol.
*/
void
-#if __STDC__
rclnp_input(struct mbuf *m, ...)
-#else
-rclnp_input(m, va_alist)
- struct mbuf *m; /* ptr to packet */
- va_dcl
-#endif
{
struct sockaddr_iso *src; /* ptr to src address */
struct sockaddr_iso *dst; /* ptr to dest address */
@@ -146,13 +140,7 @@ rclnp_input(m, va_alist)
* NOTES:
*/
int
-#if __STDC__
rclnp_output(struct mbuf *m0, ...)
-#else
-rclnp_output(m0, va_alist)
- struct mbuf *m0; /* packet to send */
- va_dcl
-#endif
{
struct socket *so; /* socket to send from */
struct rawisopcb *rp; /* ptr to raw cb */