Commit f6779036 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Three minor style nits from FlexeLint



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2944 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent e42f0b1f
...@@ -54,7 +54,6 @@ struct vdi_round_robin { ...@@ -54,7 +54,6 @@ struct vdi_round_robin {
unsigned magic; unsigned magic;
#define VDI_ROUND_ROBIN_MAGIC 0x2114a178 #define VDI_ROUND_ROBIN_MAGIC 0x2114a178
struct director dir; struct director dir;
struct backend *backend;
struct vdi_round_robin_host *hosts; struct vdi_round_robin_host *hosts;
unsigned nhosts; unsigned nhosts;
unsigned next_host; unsigned next_host;
...@@ -62,7 +61,7 @@ struct vdi_round_robin { ...@@ -62,7 +61,7 @@ struct vdi_round_robin {
static struct backend * static struct backend *
vdi_round_robin_choose(struct sess *sp) vdi_round_robin_choose(const struct sess *sp)
{ {
struct vdi_round_robin *vs; struct vdi_round_robin *vs;
struct backend *backend; struct backend *backend;
...@@ -77,7 +76,7 @@ vdi_round_robin_choose(struct sess *sp) ...@@ -77,7 +76,7 @@ vdi_round_robin_choose(struct sess *sp)
} }
static void static void
vdi_round_robin_fini(struct director *d) vdi_round_robin_fini(const struct director *d)
{ {
int i; int i;
struct vdi_round_robin *vs; struct vdi_round_robin *vs;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment