From: phk Date: Sun, 7 Sep 2008 17:24:09 +0000 (+0000) Subject: Hrmpf! X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=279d5f1217e0fef9c21cb996fad0648184698d72;p=varnish Hrmpf! A "unsigned *" is not the same as a "unsigned" git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3165 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_dir_random.c b/varnish-cache/bin/varnishd/cache_dir_random.c index 9687bf26..f514cedc 100644 --- a/varnish-cache/bin/varnishd/cache_dir_random.c +++ b/varnish-cache/bin/varnishd/cache_dir_random.c @@ -120,7 +120,7 @@ vdi_random_getfd(struct sess *sp) return (NULL); } -static unsigned * +static unsigned vdi_random_healthy(const struct sess *sp) { struct vdi_random *vs; diff --git a/varnish-cache/bin/varnishd/cache_dir_round_robin.c b/varnish-cache/bin/varnishd/cache_dir_round_robin.c index 275c8a33..de7fc240 100644 --- a/varnish-cache/bin/varnishd/cache_dir_round_robin.c +++ b/varnish-cache/bin/varnishd/cache_dir_round_robin.c @@ -84,7 +84,7 @@ vdi_round_robin_getfd(struct sess *sp) return (NULL); } -static unsigned * +static unsigned vdi_round_robin_healthy(const struct sess *sp) { struct vdi_round_robin *vs; diff --git a/varnish-cache/bin/varnishd/cache_dir_simple.c b/varnish-cache/bin/varnishd/cache_dir_simple.c index d7b1e3ff..e0e8b81f 100644 --- a/varnish-cache/bin/varnishd/cache_dir_simple.c +++ b/varnish-cache/bin/varnishd/cache_dir_simple.c @@ -66,7 +66,7 @@ vdi_simple_getfd(struct sess *sp) return (VBE_GetVbe(sp, vs->backend)); } -static unsigned * +static unsigned vdi_simple_healthy(const struct sess *sp) { struct vdi_simple *vs;