diff options
author | bde <bde@FreeBSD.org> | 1997-09-16 11:44:05 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-09-16 11:44:05 +0000 |
commit | 1062c10a868b291bcfcaf2a5ea696b6bbb4acb37 (patch) | |
tree | 37bc59ea4c26e9d866a3f3244c74112939310f2f /sys/netinet | |
parent | 6c065dd935eff75e7367acf23ae84cc3251a00a9 (diff) | |
download | FreeBSD-src-1062c10a868b291bcfcaf2a5ea696b6bbb4acb37.zip FreeBSD-src-1062c10a868b291bcfcaf2a5ea696b6bbb4acb37.tar.gz |
Fixed gratuitous ANSIisms.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/igmp.c | 4 | ||||
-rw-r--r-- | sys/netinet/in_proto.c | 4 | ||||
-rw-r--r-- | sys/netinet/ip_fw.h | 4 | ||||
-rw-r--r-- | sys/netinet/tcp_subr.c | 9 | ||||
-rw-r--r-- | sys/netinet/tcp_timewait.c | 9 |
5 files changed, 16 insertions, 14 deletions
diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c index 73ac845..41ea050 100644 --- a/sys/netinet/igmp.c +++ b/sys/netinet/igmp.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * @(#)igmp.c 8.1 (Berkeley) 7/19/93 - * $Id: igmp.c,v 1.21 1997/02/22 09:41:26 peter Exp $ + * $Id: igmp.c,v 1.22 1997/09/02 01:19:05 bde Exp $ */ /* @@ -83,7 +83,7 @@ static u_long igmp_all_rtrs_group; static struct mbuf *router_alert; static struct router_info *Head; -static void igmp_sendpkt(struct in_multi *, int, unsigned long); +static void igmp_sendpkt __P((struct in_multi *, int, unsigned long)); void igmp_init() diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c index 9ba86a0..cf2cba6 100644 --- a/sys/netinet/in_proto.c +++ b/sys/netinet/in_proto.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)in_proto.c 8.2 (Berkeley) 2/9/95 - * $Id: in_proto.c,v 1.39 1997/04/27 20:01:05 wollman Exp $ + * $Id: in_proto.c,v 1.40 1997/05/25 06:09:23 peter Exp $ */ #include <sys/param.h> @@ -196,7 +196,7 @@ struct protosw inetsw[] = { }, }; -extern int in_inithead(void **, int); +extern int in_inithead __P((void **, int)); struct domain inetdomain = { AF_INET, "internet", 0, 0, 0, diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h index d45be58..78f8c56 100644 --- a/sys/netinet/ip_fw.h +++ b/sys/netinet/ip_fw.h @@ -11,7 +11,7 @@ * * This software is provided ``AS IS'' without any warranties of any kind. * - * $Id: ip_fw.h,v 1.27 1997/06/02 05:02:36 julian Exp $ + * $Id: ip_fw.h,v 1.28 1997/08/08 14:36:29 alex Exp $ */ #ifndef _IP_FW_H @@ -176,7 +176,7 @@ struct ip_fw_chain { /* * Function definitions. */ -void ip_fw_init(void); +void ip_fw_init __P((void)); #endif /* KERNEL */ diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 7987789..4d82dd2 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tcp_subr.c 8.2 (Berkeley) 5/24/95 - * $Id: tcp_subr.c,v 1.35 1997/03/03 09:23:36 davidg Exp $ + * $Id: tcp_subr.c,v 1.36 1997/04/03 05:14:44 davidg Exp $ */ #include <sys/param.h> @@ -84,7 +84,7 @@ static int tcp_do_rfc1644 = 1; SYSCTL_INT(_net_inet_tcp, TCPCTL_DO_RFC1644, rfc1644, CTLFLAG_RW, &tcp_do_rfc1644 , 0, ""); -static void tcp_cleartaocache(void); +static void tcp_cleartaocache __P((void)); static void tcp_notify __P((struct inpcb *, int)); /* @@ -641,5 +641,6 @@ tcp_gettaocache(inp) * nothing in the cache left over. */ static void -tcp_cleartaocache(void) -{ } +tcp_cleartaocache() +{ +} diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index 7987789..4d82dd2 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tcp_subr.c 8.2 (Berkeley) 5/24/95 - * $Id: tcp_subr.c,v 1.35 1997/03/03 09:23:36 davidg Exp $ + * $Id: tcp_subr.c,v 1.36 1997/04/03 05:14:44 davidg Exp $ */ #include <sys/param.h> @@ -84,7 +84,7 @@ static int tcp_do_rfc1644 = 1; SYSCTL_INT(_net_inet_tcp, TCPCTL_DO_RFC1644, rfc1644, CTLFLAG_RW, &tcp_do_rfc1644 , 0, ""); -static void tcp_cleartaocache(void); +static void tcp_cleartaocache __P((void)); static void tcp_notify __P((struct inpcb *, int)); /* @@ -641,5 +641,6 @@ tcp_gettaocache(inp) * nothing in the cache left over. */ static void -tcp_cleartaocache(void) -{ } +tcp_cleartaocache() +{ +} |