diff options
| author | 2002-03-15 18:19:52 +0000 | |
|---|---|---|
| committer | 2002-03-15 18:19:52 +0000 | |
| commit | 28afbff99ec10f63540b43942c680ec7abbf823d (patch) | |
| tree | 5a63b85b7a06f31bd641e6093f7566373a3534aa /sys/netinet/raw_ip.c | |
| parent | Kill some #if __STDC__ used with 8bit function args; we live in an ANSI world (diff) | |
| download | wireguard-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/netinet/raw_ip.c')
| -rw-r--r-- | sys/netinet/raw_ip.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index c9c4b08002b..1af29e3b207 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raw_ip.c,v 1.24 2001/06/23 16:15:56 fgsch Exp $ */ +/* $OpenBSD: raw_ip.c,v 1.25 2002/03/15 18:19:52 millert Exp $ */ /* $NetBSD: raw_ip.c,v 1.25 1996/02/18 18:58:33 christos Exp $ */ /* @@ -121,13 +121,7 @@ struct sockaddr_in ripsrc = { sizeof(ripsrc), AF_INET }; * mbuf chain. */ void -#if __STDC__ rip_input(struct mbuf *m, ...) -#else -rip_input(m, va_alist) - struct mbuf *m; - va_dcl -#endif { register struct ip *ip = mtod(m, struct ip *); register struct inpcb *inp; @@ -184,13 +178,7 @@ rip_input(m, va_alist) * Tack on options user may have setup with control call. */ int -#if __STDC__ rip_output(struct mbuf *m, ...) -#else -rip_output(m, va_alist) - struct mbuf *m; - va_dcl -#endif { struct socket *so; u_long dst; |
