[master] 05d59c656 Flexelint constification
Poul-Henning Kamp
phk at FreeBSD.org
Mon Feb 25 22:08:07 UTC 2019
commit 05d59c656478c1a57e0ee8e2241f070b0b4b9f1b
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Feb 25 22:06:55 2019 +0000
Flexelint constification
diff --git a/lib/libvmod_directors/shard_dir.c b/lib/libvmod_directors/shard_dir.c
index e40bb67bb..50a280de6 100644
--- a/lib/libvmod_directors/shard_dir.c
+++ b/lib/libvmod_directors/shard_dir.c
@@ -344,7 +344,7 @@ sharddir_any_healthy(VRT_CTX, struct sharddir *shardd, VCL_TIME *changed)
*/
static VCL_BACKEND
-sharddir_pick_be_locked(VRT_CTX, struct sharddir *shardd,
+sharddir_pick_be_locked(VRT_CTX, const struct sharddir *shardd,
uint32_t key, VCL_INT alt, VCL_REAL warmup, VCL_BOOL rampup,
enum healthy_e healthy, struct shard_state *state)
{
More information about the varnish-commit
mailing list