]> err.no Git - varnish/commitdiff
Three minor style nits from FlexeLint
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 14 Jul 2008 15:49:41 +0000 (15:49 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 14 Jul 2008 15:49:41 +0000 (15:49 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2944 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_dir_round_robin.c

index 0a44f8d9eb207ef7d27d960e189c446308f8d979..3921415342ea3e1e44a4b045d16deec3d34c197c 100644 (file)
@@ -54,7 +54,6 @@ struct vdi_round_robin {
        unsigned                magic;
 #define VDI_ROUND_ROBIN_MAGIC  0x2114a178
        struct director         dir;
-       struct backend          *backend;
        struct vdi_round_robin_host     *hosts;
        unsigned                nhosts;
        unsigned                next_host;
@@ -62,7 +61,7 @@ struct vdi_round_robin {
 
 
 static struct backend *
-vdi_round_robin_choose(struct sess *sp)
+vdi_round_robin_choose(const struct sess *sp)
 {
        struct vdi_round_robin *vs;
        struct backend *backend;
@@ -77,7 +76,7 @@ vdi_round_robin_choose(struct sess *sp)
 }
 
 static void
-vdi_round_robin_fini(struct director *d)
+vdi_round_robin_fini(const struct director *d)
 {
        int i;
        struct vdi_round_robin *vs;