summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-07-12 19:37:08 +0000
committerrwatson <rwatson@FreeBSD.org>2004-07-12 19:37:08 +0000
commitf1f136454038170d35f84820e4e94cdf61293e89 (patch)
tree3488dc442b55c2fb5ea3380c834bd6bb5b3611c7 /sys
parenta5ff7bc1e623ed5e187ed633099986439e1c1c64 (diff)
downloadFreeBSD-src-f1f136454038170d35f84820e4e94cdf61293e89.zip
FreeBSD-src-f1f136454038170d35f84820e4e94cdf61293e89.tar.gz
Constify 'rpcclnt_backoff'.
Diffstat (limited to 'sys')
-rw-r--r--sys/rpc/rpcclnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/rpc/rpcclnt.c b/sys/rpc/rpcclnt.c
index 5b570c2..bb8768a 100644
--- a/sys/rpc/rpcclnt.c
+++ b/sys/rpc/rpcclnt.c
@@ -141,7 +141,7 @@ static MALLOC_DEFINE(M_RPC, "rpcclnt", "rpc state");
*/
#define RPC_CWNDSCALE 256
#define RPC_MAXCWND (RPC_CWNDSCALE * 32)
-static int rpcclnt_backoff[8] = {2, 4, 8, 16, 32, 64, 128, 256,};
+static const int rpcclnt_backoff[8] = {2, 4, 8, 16, 32, 64, 128, 256,};
/* XXX ugly debug strings */
#define RPC_ERRSTR_ACCEPTED_SIZE 6
OpenPOWER on IntegriCloud