r1108 - trunk/varnish-cache/include

des at projects.linpro.no des at projects.linpro.no
Wed Sep 20 17:41:23 CEST 2006


Author: des
Date: 2006-09-20 17:41:23 +0200 (Wed, 20 Sep 2006)
New Revision: 1108

Modified:
   trunk/varnish-cache/include/varnishapi.h
Log:
Declare VSL_tags[] rather than define it.  This allows Varnish to build
on MacOS.

Modified: trunk/varnish-cache/include/varnishapi.h
===================================================================
--- trunk/varnish-cache/include/varnishapi.h	2006-09-20 14:52:07 UTC (rev 1107)
+++ trunk/varnish-cache/include/varnishapi.h	2006-09-20 15:41:23 UTC (rev 1108)
@@ -54,7 +54,7 @@
 int VSL_NextLog(struct VSL_data *lh, unsigned char **pp);
 int VSL_Arg(struct VSL_data *vd, int arg, const char *opt);
 struct varnish_stats *VSL_OpenStats(void);
-const char *VSL_tags[256];
+extern const char *VSL_tags[256];
 
 /* varnish_debug.c */
 void		 vdb_panic(const char *, ...) V_DEAD;




More information about the varnish-commit mailing list