diff options
author | Andrey V. Elsukov <ae@FreeBSD.org> | 2018-06-05 20:54:29 +0000 |
---|---|---|
committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2018-06-05 20:54:29 +0000 |
commit | 73ae9758a178dfa68ef27f654a47f6fdad824c06 (patch) | |
tree | 96e859109e3662364a8435391abe807f2215e8ae /sys/netinet6/scope6_var.h | |
parent | 6d8fdfa9d5e7d4871c5039b0131829f9cbefeee9 (diff) | |
download | src-73ae9758a178dfa68ef27f654a47f6fdad824c06.tar.gz src-73ae9758a178dfa68ef27f654a47f6fdad824c06.zip |
Constify argument of in6_getscope().
Notes
Notes:
svn path=/head/; revision=334672
Diffstat (limited to 'sys/netinet6/scope6_var.h')
-rw-r--r-- | sys/netinet6/scope6_var.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/scope6_var.h b/sys/netinet6/scope6_var.h index a2a9137dad37..f4e59a1920c1 100644 --- a/sys/netinet6/scope6_var.h +++ b/sys/netinet6/scope6_var.h @@ -63,7 +63,7 @@ int sa6_checkzone(struct sockaddr_in6 *); int sa6_checkzone_ifp(struct ifnet *, struct sockaddr_in6 *); int in6_setscope(struct in6_addr *, struct ifnet *, u_int32_t *); int in6_clearscope(struct in6_addr *); -uint16_t in6_getscope(struct in6_addr *); +uint16_t in6_getscope(const struct in6_addr *); uint32_t in6_getscopezone(const struct ifnet *, int); void in6_splitscope(const struct in6_addr *, struct in6_addr *, uint32_t *); struct ifnet* in6_getlinkifnet(uint32_t); |