OK?

diff --git netinet6/in6.c netinet6/in6.c
index 45a28663d65..f0db346d116 100644
--- netinet6/in6.c
+++ netinet6/in6.c
@@ -1350,14 +1350,13 @@ in6_joingroup(struct ifnet *ifp, struct in6_addr *addr, 
int *errorp)
        return imm;
 }
 
-int
+void
 in6_leavegroup(struct in6_multi_mship *imm)
 {
 
        if (imm->i6mm_maddr)
                in6_delmulti(imm->i6mm_maddr);
        free(imm,  M_IPMADDR, sizeof(*imm));
-       return 0;
 }
 
 /*
diff --git netinet6/in6_var.h netinet6/in6_var.h
index 3b2e0d1f684..11c17875b37 100644
--- netinet6/in6_var.h
+++ netinet6/in6_var.h
@@ -382,7 +382,7 @@ struct      in6_multi *in6_addmulti(struct in6_addr *, 
struct ifnet *, int *);
 void   in6_delmulti(struct in6_multi *);
 int    in6_hasmulti(struct in6_addr *, struct ifnet *);
 struct in6_multi_mship *in6_joingroup(struct ifnet *, struct in6_addr *, int 
*);
-int    in6_leavegroup(struct in6_multi_mship *);
+void   in6_leavegroup(struct in6_multi_mship *);
 int    in6_control(struct socket *, u_long, caddr_t, struct ifnet *);
 int    in6_ioctl(u_long, caddr_t, struct ifnet *, int);
 int    in6_update_ifa(struct ifnet *, struct in6_aliasreq *,

-- 
I'm not entirely sure you are real.

Reply via email to