r1535 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Sun Jun 24 11:27:19 CEST 2007


Author: phk
Date: 2007-06-24 11:27:18 +0200 (Sun, 24 Jun 2007)
New Revision: 1535

Modified:
   trunk/varnish-cache/bin/varnishd/cache.h
   trunk/varnish-cache/bin/varnishd/cache_hash.c
Log:
Make HSH_Freestore() static


Modified: trunk/varnish-cache/bin/varnishd/cache.h
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache.h	2007-06-24 09:23:38 UTC (rev 1534)
+++ trunk/varnish-cache/bin/varnishd/cache.h	2007-06-24 09:27:18 UTC (rev 1535)
@@ -378,7 +378,6 @@
 
 /* cache_hash.c */
 void HSH_Prealloc(struct sess *sp);
-void HSH_Freestore(struct object *o);
 struct object *HSH_Lookup(struct sess *sp);
 void HSH_Unbusy(struct object *o);
 void HSH_Ref(struct object *o);

Modified: trunk/varnish-cache/bin/varnishd/cache_hash.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_hash.c	2007-06-24 09:23:38 UTC (rev 1534)
+++ trunk/varnish-cache/bin/varnishd/cache_hash.c	2007-06-24 09:27:18 UTC (rev 1535)
@@ -96,7 +96,7 @@
 		CHECK_OBJ_NOTNULL(w->nobj, OBJECT_MAGIC);
 }
 
-void
+static void
 HSH_Freestore(struct object *o)
 {
 	struct storage *st, *stn;




More information about the varnish-commit mailing list