From: phk Date: Sun, 24 Jun 2007 09:27:18 +0000 (+0000) Subject: Make HSH_Freestore() static X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bc81a6374306e944aebbe0c672af220aa649e18;p=varnish Make HSH_Freestore() static git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1535 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache.h b/varnish-cache/bin/varnishd/cache.h index d9163574..fdf248c0 100644 --- a/varnish-cache/bin/varnishd/cache.h +++ b/varnish-cache/bin/varnishd/cache.h @@ -378,7 +378,6 @@ int Fetch(struct sess *sp); /* 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); diff --git a/varnish-cache/bin/varnishd/cache_hash.c b/varnish-cache/bin/varnishd/cache_hash.c index d6498406..7afa9eec 100644 --- a/varnish-cache/bin/varnishd/cache_hash.c +++ b/varnish-cache/bin/varnishd/cache_hash.c @@ -96,7 +96,7 @@ HSH_Prealloc(struct sess *sp) CHECK_OBJ_NOTNULL(w->nobj, OBJECT_MAGIC); } -void +static void HSH_Freestore(struct object *o) { struct storage *st, *stn;