diff options
author | ae <ae@FreeBSD.org> | 2016-04-21 10:58:07 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2016-04-21 10:58:07 +0000 |
commit | 40afb9fccdbb0980702aa96c2cc3371fabec359d (patch) | |
tree | 306c7d64a813fd623c8391783df6de29eaa6a281 /sys/netipsec/key_debug.h | |
parent | c94925558093eda3659685858031c2bd8abd7da1 (diff) | |
download | FreeBSD-src-40afb9fccdbb0980702aa96c2cc3371fabec359d.zip FreeBSD-src-40afb9fccdbb0980702aa96c2cc3371fabec359d.tar.gz |
Constify mbuf pointer for IPSEC functions where mbuf isn't modified.
Diffstat (limited to 'sys/netipsec/key_debug.h')
-rw-r--r-- | sys/netipsec/key_debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netipsec/key_debug.h b/sys/netipsec/key_debug.h index 16db921..09576bf 100644 --- a/sys/netipsec/key_debug.h +++ b/sys/netipsec/key_debug.h @@ -76,8 +76,8 @@ extern void kdebug_secpolicy(struct secpolicy *); extern void kdebug_secpolicyindex(struct secpolicyindex *); extern void kdebug_secasindex(struct secasindex *); extern void kdebug_secasv(struct secasvar *); -extern void kdebug_mbufhdr(struct mbuf *); -extern void kdebug_mbuf(struct mbuf *); +extern void kdebug_mbufhdr(const struct mbuf *); +extern void kdebug_mbuf(const struct mbuf *); #endif /*_KERNEL*/ struct sockaddr; |