r3033 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Thu Jul 31 11:09:20 CEST 2008
Author: phk
Date: 2008-07-31 11:09:20 +0200 (Thu, 31 Jul 2008)
New Revision: 3033
Modified:
trunk/varnish-cache/bin/varnishd/cache.h
trunk/varnish-cache/bin/varnishd/storage_synth.c
Log:
FlexeLint polishing.
Modified: trunk/varnish-cache/bin/varnishd/cache.h
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache.h 2008-07-30 15:34:38 UTC (rev 3032)
+++ trunk/varnish-cache/bin/varnishd/cache.h 2008-07-31 09:09:20 UTC (rev 3033)
@@ -572,9 +572,6 @@
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);
Modified: trunk/varnish-cache/bin/varnishd/storage_synth.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/storage_synth.c 2008-07-30 15:34:38 UTC (rev 3032)
+++ trunk/varnish-cache/bin/varnishd/storage_synth.c 2008-07-31 09:09:20 UTC (rev 3033)
@@ -66,7 +66,7 @@
AZ(pthread_mutex_init(&sms_mtx, NULL));
}
-struct stevedore sms_stevedore = {
+static struct stevedore sms_stevedore = {
.magic = STEVEDORE_MAGIC,
.name = "synth",
.free = sms_free,
More information about the varnish-commit
mailing list