summaryrefslogtreecommitdiff
path: root/sys/netinet/udp_usrreq.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/netinet/udp_usrreq.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/netinet/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index 0f53ae8bb74..63431eda548 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udp_usrreq.c,v 1.75 2002/03/14 01:27:11 millert Exp $ */
+/* $OpenBSD: udp_usrreq.c,v 1.76 2002/03/15 18:19:53 millert Exp $ */
/* $NetBSD: udp_usrreq.c,v 1.28 1996/03/16 23:54:03 christos Exp $ */
/*
@@ -151,13 +151,7 @@ udp6_input(mp, offp, proto)
#endif
void
-#if __STDC__
udp_input(struct mbuf *m, ...)
-#else
-udp_input(m, va_alist)
- struct mbuf *m;
- va_dcl
-#endif
{
register struct ip *ip;
register struct udphdr *uh;
@@ -870,13 +864,7 @@ udp_ctlinput(cmd, sa, v)
}
int
-#if __STDC__
udp_output(struct mbuf *m, ...)
-#else
-udp_output(m, va_alist)
- struct mbuf *m;
- va_dcl
-#endif
{
register struct inpcb *inp;
struct mbuf *addr, *control;