aboutsummaryrefslogtreecommitdiff
path: root/sys/rpc/svc.h
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2021-07-09 14:56:13 +0000
committerMark Johnston <markj@FreeBSD.org>2021-08-14 15:26:12 +0000
commit20d728b559178577869e50c7e3c1bf0ad24a750c (patch)
treecc8748b022f3d2ef8695bde557e238c864be9adc /sys/rpc/svc.h
parent58b1a126b98f9d64f30246c90d6c049fd78dda6b (diff)
downloadsrc-20d728b559178577869e50c7e3c1bf0ad24a750c.tar.gz
src-20d728b559178577869e50c7e3c1bf0ad24a750c.zip
rpc: Make function tables const
No functional change intended. MFC after: 1 week Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/rpc/svc.h')
-rw-r--r--sys/rpc/svc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/rpc/svc.h b/sys/rpc/svc.h
index 8a94d7058972..d92fa6953891 100644
--- a/sys/rpc/svc.h
+++ b/sys/rpc/svc.h
@@ -212,7 +212,7 @@ typedef struct __rpc_svcxprt {
* Interface to server-side authentication flavors.
*/
typedef struct __rpc_svcauth {
- struct svc_auth_ops {
+ const struct svc_auth_ops {
#ifdef _KERNEL
int (*svc_ah_wrap)(struct __rpc_svcauth *, struct mbuf **);
int (*svc_ah_unwrap)(struct __rpc_svcauth *, struct mbuf **);