From e6f8b0995d59e493018009921005c7f50759dc53 Mon Sep 17 00:00:00 2001 From: delphij Date: Thu, 5 Jul 2007 16:23:49 +0000 Subject: ANSIfy[1] plus some style cleanup nearby. Discussed with: gnn, rwatson Submitted by: Karl Sj?dahl - dunceor [1] Approved by: re (rwatson) --- sys/netinet6/route6.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'sys/netinet6/route6.c') diff --git a/sys/netinet6/route6.c b/sys/netinet6/route6.c index a25712c..989de86 100644 --- a/sys/netinet6/route6.c +++ b/sys/netinet6/route6.c @@ -55,10 +55,12 @@ static int ip6_rthdr0 __P((struct mbuf *, struct ip6_hdr *, #endif /* Disable route header processing. */ +/* + * proto - is unused + */ + int -route6_input(mp, offp, proto) - struct mbuf **mp; - int *offp, proto; /* proto is unused */ +route6_input(struct mbuf **mp, int *offp, int proto) { struct ip6_hdr *ip6; struct mbuf *m = *mp; @@ -143,10 +145,7 @@ route6_input(mp, offp, proto) */ #if 0 static int -ip6_rthdr0(m, ip6, rh0) - struct mbuf *m; - struct ip6_hdr *ip6; - struct ip6_rthdr0 *rh0; +ip6_rthdr0(struct mbuf *m, struct ip6_hdr *ip6, struct ip6_rthdr0 *rh0) { int addrs, index; struct in6_addr *nextaddr, tmpaddr; -- cgit v1.1