From: des Date: Wed, 20 Sep 2006 15:41:23 +0000 (+0000) Subject: Declare VSL_tags[] rather than define it. This allows Varnish to build X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=730c8ef9858183f40240f92953645a952838881a;p=varnish Declare VSL_tags[] rather than define it. This allows Varnish to build on MacOS. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1108 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/include/varnishapi.h b/varnish-cache/include/varnishapi.h index d9da6224..2c27bed6 100644 --- a/varnish-cache/include/varnishapi.h +++ b/varnish-cache/include/varnishapi.h @@ -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;