From: phk Date: Thu, 31 Jul 2008 09:09:20 +0000 (+0000) Subject: FlexeLint polishing. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ce99b94fd42fb93def61d9bf337718e69502671;p=varnish FlexeLint polishing. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3033 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache.h b/varnish-cache/bin/varnishd/cache.h index aa09f6b2..e437f7ed 100644 --- a/varnish-cache/bin/varnishd/cache.h +++ b/varnish-cache/bin/varnishd/cache.h @@ -572,9 +572,6 @@ void WSL_Flush(struct worker *w, int overflow); void RES_BuildHttp(struct sess *sp); void RES_WriteObj(struct sess *sp); -/* cache_synthetic.c */ -void SYN_ErrorPage(struct sess *sp, int status, const char *reason); - /* cache_vary.c */ void VRY_Create(const struct sess *sp); int VRY_Match(const struct sess *sp, const unsigned char *vary); diff --git a/varnish-cache/bin/varnishd/storage_synth.c b/varnish-cache/bin/varnishd/storage_synth.c index 269179eb..aee73786 100644 --- a/varnish-cache/bin/varnishd/storage_synth.c +++ b/varnish-cache/bin/varnishd/storage_synth.c @@ -66,7 +66,7 @@ SMS_Init(void) AZ(pthread_mutex_init(&sms_mtx, NULL)); } -struct stevedore sms_stevedore = { +static struct stevedore sms_stevedore = { .magic = STEVEDORE_MAGIC, .name = "synth", .free = sms_free,