From 43d68564a5a9d2dbe43078e08668ba5790a3dfbc Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 13 Mar 2008 10:34:30 +0000 Subject: [PATCH] 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 --- varnish-cache/bin/varnishd/cache.h | 1 - varnish-cache/bin/varnishd/shmlog.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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; -- 2.39.5