aboutsummaryrefslogtreecommitdiff
path: root/sys/rpc/clnt_rc.c
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/clnt_rc.c
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/clnt_rc.c')
-rw-r--r--sys/rpc/clnt_rc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/rpc/clnt_rc.c b/sys/rpc/clnt_rc.c
index ae3b2985a891..aa69356b8cd2 100644
--- a/sys/rpc/clnt_rc.c
+++ b/sys/rpc/clnt_rc.c
@@ -59,7 +59,7 @@ static bool_t clnt_reconnect_control(CLIENT *, u_int, void *);
static void clnt_reconnect_close(CLIENT *);
static void clnt_reconnect_destroy(CLIENT *);
-static struct clnt_ops clnt_reconnect_ops = {
+static const struct clnt_ops clnt_reconnect_ops = {
.cl_call = clnt_reconnect_call,
.cl_abort = clnt_reconnect_abort,
.cl_geterr = clnt_reconnect_geterr,