summaryrefslogtreecommitdiffstats
path: root/sys/net/if_gre.c
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2014-08-15 02:43:02 +0000
committerkevlo <kevlo@FreeBSD.org>2014-08-15 02:43:02 +0000
commitdd40fa7e626debcd82f3b28a34abe44e5ac3a103 (patch)
tree90287a018d09f955a0b1cf0fd76ba4a32715f145 /sys/net/if_gre.c
parent6a0dd771d986a0c83351a68f884ef725d9853ccb (diff)
downloadFreeBSD-src-dd40fa7e626debcd82f3b28a34abe44e5ac3a103.zip
FreeBSD-src-dd40fa7e626debcd82f3b28a34abe44e5ac3a103.tar.gz
Change pr_output's prototype to avoid the need for explicit casts.
This is a follow up to r269699. Phabric: D564 Reviewed by: jhb
Diffstat (limited to 'sys/net/if_gre.c')
-rw-r--r--sys/net/if_gre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c
index c553dc8..302780a 100644
--- a/sys/net/if_gre.c
+++ b/sys/net/if_gre.c
@@ -128,7 +128,7 @@ static const struct protosw in_gre_protosw = {
.pr_protocol = IPPROTO_GRE,
.pr_flags = PR_ATOMIC|PR_ADDR,
.pr_input = gre_input,
- .pr_output = (pr_output_t *)rip_output,
+ .pr_output = rip_output,
.pr_ctlinput = rip_ctlinput,
.pr_ctloutput = rip_ctloutput,
.pr_usrreqs = &rip_usrreqs
@@ -139,7 +139,7 @@ static const struct protosw in_mobile_protosw = {
.pr_protocol = IPPROTO_MOBILE,
.pr_flags = PR_ATOMIC|PR_ADDR,
.pr_input = gre_mobile_input,
- .pr_output = (pr_output_t *)rip_output,
+ .pr_output = rip_output,
.pr_ctlinput = rip_ctlinput,
.pr_ctloutput = rip_ctloutput,
.pr_usrreqs = &rip_usrreqs
OpenPOWER on IntegriCloud