Remove #else clause of __STDC__
This commit is contained in:
parent
9c88c932d0
commit
5413745100
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: igmp.c,v 1.37 2004/04/25 16:42:42 simonb Exp $ */
|
/* $NetBSD: igmp.c,v 1.38 2004/04/26 01:31:56 matt Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||||
@ -40,7 +40,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: igmp.c,v 1.37 2004/04/25 16:42:42 simonb Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: igmp.c,v 1.38 2004/04/26 01:31:56 matt Exp $");
|
||||||
|
|
||||||
#include "opt_mrouting.h"
|
#include "opt_mrouting.h"
|
||||||
|
|
||||||
@ -137,13 +137,7 @@ rti_delete(ifp)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
#if __STDC__
|
|
||||||
igmp_input(struct mbuf *m, ...)
|
igmp_input(struct mbuf *m, ...)
|
||||||
#else
|
|
||||||
igmp_input(m, va_alist)
|
|
||||||
struct mbuf *m;
|
|
||||||
va_dcl
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
int proto;
|
int proto;
|
||||||
int iphlen;
|
int iphlen;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: in_gif.c,v 1.35 2004/04/22 01:01:41 matt Exp $ */
|
/* $NetBSD: in_gif.c,v 1.36 2004/04/26 01:31:56 matt Exp $ */
|
||||||
/* $KAME: in_gif.c,v 1.66 2001/07/29 04:46:09 itojun Exp $ */
|
/* $KAME: in_gif.c,v 1.66 2001/07/29 04:46:09 itojun Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -31,7 +31,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: in_gif.c,v 1.35 2004/04/22 01:01:41 matt Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: in_gif.c,v 1.36 2004/04/26 01:31:56 matt Exp $");
|
||||||
|
|
||||||
#include "opt_inet.h"
|
#include "opt_inet.h"
|
||||||
#include "opt_iso.h"
|
#include "opt_iso.h"
|
||||||
@ -212,13 +212,7 @@ in_gif_output(ifp, family, m)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
#if __STDC__
|
|
||||||
in_gif_input(struct mbuf *m, ...)
|
in_gif_input(struct mbuf *m, ...)
|
||||||
#else
|
|
||||||
in_gif_input(m, va_alist)
|
|
||||||
struct mbuf *m;
|
|
||||||
va_dcl
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
int off, proto;
|
int off, proto;
|
||||||
struct ifnet *gifp = NULL;
|
struct ifnet *gifp = NULL;
|
||||||
|
@ -70,7 +70,7 @@
|
|||||||
#define USE_RADIX
|
#define USE_RADIX
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: ip_encap.c,v 1.17 2004/03/04 15:15:06 wiz Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: ip_encap.c,v 1.18 2004/04/26 01:31:56 matt Exp $");
|
||||||
|
|
||||||
#include "opt_mrouting.h"
|
#include "opt_mrouting.h"
|
||||||
#include "opt_inet.h"
|
#include "opt_inet.h"
|
||||||
@ -290,13 +290,7 @@ encap4_lookup(m, off, proto, dir)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
#if __STDC__
|
|
||||||
encap4_input(struct mbuf *m, ...)
|
encap4_input(struct mbuf *m, ...)
|
||||||
#else
|
|
||||||
encap4_input(m, va_alist)
|
|
||||||
struct mbuf *m;
|
|
||||||
va_dcl
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
int off, proto;
|
int off, proto;
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: ip_gre.c,v 1.29 2003/09/05 23:02:43 itojun Exp $ */
|
/* $NetBSD: ip_gre.c,v 1.30 2004/04/26 01:31:56 matt Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||||
@ -43,7 +43,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: ip_gre.c,v 1.29 2003/09/05 23:02:43 itojun Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: ip_gre.c,v 1.30 2004/04/26 01:31:56 matt Exp $");
|
||||||
|
|
||||||
#include "gre.h"
|
#include "gre.h"
|
||||||
#if NGRE > 0
|
#if NGRE > 0
|
||||||
@ -113,13 +113,7 @@ int gre_input2 __P((struct mbuf *, int, u_char));
|
|||||||
* This really is simple
|
* This really is simple
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
#if __STDC__
|
|
||||||
gre_input(struct mbuf *m, ...)
|
gre_input(struct mbuf *m, ...)
|
||||||
#else
|
|
||||||
gre_input(m, va_alist)
|
|
||||||
struct mbuf *m;
|
|
||||||
va_dcl
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
int off, ret, proto;
|
int off, ret, proto;
|
||||||
va_list ap;
|
va_list ap;
|
||||||
@ -257,13 +251,7 @@ gre_input2(struct mbuf *m, int hlen, u_char proto)
|
|||||||
* between IP header and payload
|
* between IP header and payload
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
#if __STDC__
|
|
||||||
gre_mobile_input(struct mbuf *m, ...)
|
gre_mobile_input(struct mbuf *m, ...)
|
||||||
#else
|
|
||||||
gre_mobile_input(m, va_alist)
|
|
||||||
struct mbuf *m;
|
|
||||||
va_dcl
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
struct ip *ip;
|
struct ip *ip;
|
||||||
struct mobip_h *mip;
|
struct mobip_h *mip;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: ip_icmp.c,v 1.82 2004/03/24 15:34:54 atatat Exp $ */
|
/* $NetBSD: ip_icmp.c,v 1.83 2004/04/26 01:31:56 matt Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||||
@ -101,7 +101,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: ip_icmp.c,v 1.82 2004/03/24 15:34:54 atatat Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: ip_icmp.c,v 1.83 2004/04/26 01:31:56 matt Exp $");
|
||||||
|
|
||||||
#include "opt_ipsec.h"
|
#include "opt_ipsec.h"
|
||||||
|
|
||||||
@ -371,13 +371,7 @@ struct sockaddr_in icmpmask = { 8, 0 };
|
|||||||
* Process a received ICMP message.
|
* Process a received ICMP message.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
#if __STDC__
|
|
||||||
icmp_input(struct mbuf *m, ...)
|
icmp_input(struct mbuf *m, ...)
|
||||||
#else
|
|
||||||
icmp_input(m, va_alist)
|
|
||||||
struct mbuf *m;
|
|
||||||
va_dcl
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
int proto;
|
int proto;
|
||||||
struct icmp *icp;
|
struct icmp *icp;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: ip_mroute.c,v 1.84 2004/04/22 01:01:41 matt Exp $ */
|
/* $NetBSD: ip_mroute.c,v 1.85 2004/04/26 01:31:57 matt Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1992, 1993
|
* Copyright (c) 1992, 1993
|
||||||
@ -86,7 +86,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: ip_mroute.c,v 1.84 2004/04/22 01:01:41 matt Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: ip_mroute.c,v 1.85 2004/04/26 01:31:57 matt Exp $");
|
||||||
|
|
||||||
#include "opt_inet.h"
|
#include "opt_inet.h"
|
||||||
#include "opt_ipsec.h"
|
#include "opt_ipsec.h"
|
||||||
@ -1591,13 +1591,7 @@ encap_send(ip, vifp, m)
|
|||||||
* De-encapsulate a packet and feed it back through ip input.
|
* De-encapsulate a packet and feed it back through ip input.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
#if __STDC__
|
|
||||||
vif_input(struct mbuf *m, ...)
|
vif_input(struct mbuf *m, ...)
|
||||||
#else
|
|
||||||
vif_input(m, va_alist)
|
|
||||||
struct mbuf *m;
|
|
||||||
va_dcl
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
int off, proto;
|
int off, proto;
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: ip_output.c,v 1.130 2004/03/02 02:28:28 thorpej Exp $ */
|
/* $NetBSD: ip_output.c,v 1.131 2004/04/26 01:31:57 matt Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||||
@ -98,7 +98,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.130 2004/03/02 02:28:28 thorpej Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.131 2004/04/26 01:31:57 matt Exp $");
|
||||||
|
|
||||||
#include "opt_pfil_hooks.h"
|
#include "opt_pfil_hooks.h"
|
||||||
#include "opt_inet.h"
|
#include "opt_inet.h"
|
||||||
@ -163,13 +163,7 @@ extern struct pfil_head inet_pfil_hook; /* XXX */
|
|||||||
* The mbuf opt, if present, will not be freed.
|
* The mbuf opt, if present, will not be freed.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
#if __STDC__
|
|
||||||
ip_output(struct mbuf *m0, ...)
|
ip_output(struct mbuf *m0, ...)
|
||||||
#else
|
|
||||||
ip_output(m0, va_alist)
|
|
||||||
struct mbuf *m0;
|
|
||||||
va_dcl
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
struct ip *ip;
|
struct ip *ip;
|
||||||
struct ifnet *ifp;
|
struct ifnet *ifp;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: raw_ip.c,v 1.78 2003/11/19 18:39:34 jonathan Exp $ */
|
/* $NetBSD: raw_ip.c,v 1.79 2004/04/26 01:31:57 matt Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||||
@ -61,7 +61,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: raw_ip.c,v 1.78 2003/11/19 18:39:34 jonathan Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: raw_ip.c,v 1.79 2004/04/26 01:31:57 matt Exp $");
|
||||||
|
|
||||||
#include "opt_inet.h"
|
#include "opt_inet.h"
|
||||||
#include "opt_ipsec.h"
|
#include "opt_ipsec.h"
|
||||||
@ -133,13 +133,7 @@ rip_init()
|
|||||||
* mbuf chain.
|
* mbuf chain.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
#if __STDC__
|
|
||||||
rip_input(struct mbuf *m, ...)
|
rip_input(struct mbuf *m, ...)
|
||||||
#else
|
|
||||||
rip_input(m, va_alist)
|
|
||||||
struct mbuf *m;
|
|
||||||
va_dcl
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
int proto;
|
int proto;
|
||||||
struct ip *ip = mtod(m, struct ip *);
|
struct ip *ip = mtod(m, struct ip *);
|
||||||
@ -308,13 +302,7 @@ rip_ctlinput(cmd, sa, v)
|
|||||||
* Tack on options user may have setup with control call.
|
* Tack on options user may have setup with control call.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
#if __STDC__
|
|
||||||
rip_output(struct mbuf *m, ...)
|
rip_output(struct mbuf *m, ...)
|
||||||
#else
|
|
||||||
rip_output(m, va_alist)
|
|
||||||
struct mbuf *m;
|
|
||||||
va_dcl
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
struct inpcb *inp;
|
struct inpcb *inp;
|
||||||
struct ip *ip;
|
struct ip *ip;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: tcp_input.c,v 1.201 2004/04/25 22:25:03 jonathan Exp $ */
|
/* $NetBSD: tcp_input.c,v 1.202 2004/04/26 01:31:57 matt Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||||
@ -148,7 +148,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.201 2004/04/25 22:25:03 jonathan Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: tcp_input.c,v 1.202 2004/04/26 01:31:57 matt Exp $");
|
||||||
|
|
||||||
#include "opt_inet.h"
|
#include "opt_inet.h"
|
||||||
#include "opt_ipsec.h"
|
#include "opt_ipsec.h"
|
||||||
@ -778,12 +778,7 @@ tcp6_log_refused(ip6, th)
|
|||||||
* protocol specification dated September, 1981 very closely.
|
* protocol specification dated September, 1981 very closely.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
#if __STDC__
|
|
||||||
tcp_input(struct mbuf *m, ...)
|
tcp_input(struct mbuf *m, ...)
|
||||||
#else
|
|
||||||
tcp_input(m, va_alist)
|
|
||||||
struct mbuf *m;
|
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
struct tcphdr *th;
|
struct tcphdr *th;
|
||||||
struct ip *ip;
|
struct ip *ip;
|
||||||
|
Loading…
Reference in New Issue
Block a user