]> err.no Git - varnish/commitdiff
FlexeLint polishing.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 31 Jul 2008 09:09:20 +0000 (09:09 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 31 Jul 2008 09:09:20 +0000 (09:09 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3033 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache.h
varnish-cache/bin/varnishd/storage_synth.c

index aa09f6b2fec6098b37c934bbf394f505f7343466..e437f7ed48cb2b0b042b57f57e4f2a09b56ee3eb 100644 (file)
@@ -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);
index 269179eb234632ffad088739ac05dcb2be588cbd..aee73786ca41b9ab5c7f6ae656a9871049946a0c 100644 (file)
@@ -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,