From: phk Date: Thu, 13 Mar 2008 10:34:30 +0000 (+0000) Subject: Make VSLR() static, it's unused outside shmlog.c X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43d68564a5a9d2dbe43078e08668ba5790a3dfbc;p=varnish Make VSLR() static, it's unused outside shmlog.c git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2604 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache.h b/varnish-cache/bin/varnishd/cache.h index 83ea832f..e56474e4 100644 --- a/varnish-cache/bin/varnishd/cache.h +++ b/varnish-cache/bin/varnishd/cache.h @@ -519,7 +519,6 @@ void SES_Charge(struct sess *sp); void VSL_Init(void); #ifdef SHMLOGHEAD_MAGIC -void VSLR(enum shmlogtag tag, int id, txt t); void VSL(enum shmlogtag tag, int id, const char *fmt, ...); void WSLR(struct worker *w, enum shmlogtag tag, int id, txt t); void WSL(struct worker *w, enum shmlogtag tag, int id, const char *fmt, ...); diff --git a/varnish-cache/bin/varnishd/shmlog.c b/varnish-cache/bin/varnishd/shmlog.c index 79ba7346..6ff647cb 100644 --- a/varnish-cache/bin/varnishd/shmlog.c +++ b/varnish-cache/bin/varnishd/shmlog.c @@ -95,7 +95,7 @@ vsl_hdr(enum shmlogtag tag, unsigned char *p, unsigned len, unsigned id) * taking the detour over sprintf() */ -void +static void VSLR(enum shmlogtag tag, int id, txt t) { unsigned char *p;