diff options
author | delphij <delphij@FreeBSD.org> | 2007-07-05 16:23:49 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2007-07-05 16:23:49 +0000 |
commit | e6f8b0995d59e493018009921005c7f50759dc53 (patch) | |
tree | 81174e8101271154426447c99842b2b14728c14e /sys/netinet6/route6.c | |
parent | 181b33ba1c42e4a3281278639aae08ff32ebbc29 (diff) | |
download | FreeBSD-src-e6f8b0995d59e493018009921005c7f50759dc53.zip FreeBSD-src-e6f8b0995d59e493018009921005c7f50759dc53.tar.gz |
ANSIfy[1] plus some style cleanup nearby.
Discussed with: gnn, rwatson
Submitted by: Karl Sj?dahl - dunceor <dunceor gmail com> [1]
Approved by: re (rwatson)
Diffstat (limited to 'sys/netinet6/route6.c')
-rw-r--r-- | sys/netinet6/route6.c | 13 |
1 files changed, 6 insertions, 7 deletions
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; |