]> err.no Git - varnish/commitdiff
Declare VSL_tags[] rather than define it. This allows Varnish to build
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 20 Sep 2006 15:41:23 +0000 (15:41 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 20 Sep 2006 15:41:23 +0000 (15:41 +0000)
on MacOS.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1108 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/include/varnishapi.h

index d9da62247bdb8bd90716ec9dce3a5a56b4925cb1..2c27bed641d6ecd5add91aaf2edd32e7ff69bc18 100644 (file)
@@ -54,7 +54,7 @@ int VSL_Dispatch(struct VSL_data *vd, vsl_handler *func, void *priv);
 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;