r2604 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Thu Mar 13 11:34:31 CET 2008


Author: phk
Date: 2008-03-13 11:34:30 +0100 (Thu, 13 Mar 2008)
New Revision: 2604

Modified:
   trunk/varnish-cache/bin/varnishd/cache.h
   trunk/varnish-cache/bin/varnishd/shmlog.c
Log:
Make VSLR() static, it's unused outside shmlog.c


Modified: trunk/varnish-cache/bin/varnishd/cache.h
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache.h	2008-03-13 10:29:14 UTC (rev 2603)
+++ trunk/varnish-cache/bin/varnishd/cache.h	2008-03-13 10:34:30 UTC (rev 2604)
@@ -519,7 +519,6 @@
 
 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, ...);

Modified: trunk/varnish-cache/bin/varnishd/shmlog.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/shmlog.c	2008-03-13 10:29:14 UTC (rev 2603)
+++ trunk/varnish-cache/bin/varnishd/shmlog.c	2008-03-13 10:34:30 UTC (rev 2604)
@@ -95,7 +95,7 @@
  * taking the detour over sprintf()
  */
 
-void
+static void
 VSLR(enum shmlogtag tag, int id, txt t)
 {
 	unsigned char *p;




More information about the varnish-commit mailing list