r3165 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Sun Sep 7 19:24:10 CEST 2008


Author: phk
Date: 2008-09-07 19:24:09 +0200 (Sun, 07 Sep 2008)
New Revision: 3165

Modified:
   trunk/varnish-cache/bin/varnishd/cache_dir_random.c
   trunk/varnish-cache/bin/varnishd/cache_dir_round_robin.c
   trunk/varnish-cache/bin/varnishd/cache_dir_simple.c
Log:
Hrmpf! 

A "unsigned *" is not the same as a "unsigned"



Modified: trunk/varnish-cache/bin/varnishd/cache_dir_random.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_dir_random.c	2008-09-07 07:47:39 UTC (rev 3164)
+++ trunk/varnish-cache/bin/varnishd/cache_dir_random.c	2008-09-07 17:24:09 UTC (rev 3165)
@@ -120,7 +120,7 @@
 	return (NULL);
 }
 
-static unsigned *
+static unsigned
 vdi_random_healthy(const struct sess *sp)
 {
 	struct vdi_random *vs;

Modified: trunk/varnish-cache/bin/varnishd/cache_dir_round_robin.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_dir_round_robin.c	2008-09-07 07:47:39 UTC (rev 3164)
+++ trunk/varnish-cache/bin/varnishd/cache_dir_round_robin.c	2008-09-07 17:24:09 UTC (rev 3165)
@@ -84,7 +84,7 @@
 	return (NULL);
 }
 
-static unsigned *
+static unsigned
 vdi_round_robin_healthy(const struct sess *sp)
 {
 	struct vdi_round_robin *vs;

Modified: trunk/varnish-cache/bin/varnishd/cache_dir_simple.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_dir_simple.c	2008-09-07 07:47:39 UTC (rev 3164)
+++ trunk/varnish-cache/bin/varnishd/cache_dir_simple.c	2008-09-07 17:24:09 UTC (rev 3165)
@@ -66,7 +66,7 @@
 	return (VBE_GetVbe(sp, vs->backend));
 }
 
-static unsigned *
+static unsigned
 vdi_simple_healthy(const struct sess *sp)
 {
 	struct vdi_simple *vs;




More information about the varnish-commit mailing list