From 7ce99b94fd42fb93def61d9bf337718e69502671 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 31 Jul 2008 09:09:20 +0000 Subject: [PATCH] FlexeLint polishing. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3033 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache.h | 3 --- varnish-cache/bin/varnishd/storage_synth.c | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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, -- 2.39.5