Commit 09b426e4 authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Make regexp variables static. This has the side effect of replacing

tentative definitions with non-tentative ones, thus sidestepping one
of the issues we have on MacOS X.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1719 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent bced2f90
......@@ -56,7 +56,7 @@ vcc_regexp(struct tokenlist *tl, int sub)
p = TlAlloc(tl, strlen(buf) + 1);
strcpy(p, buf);
Fh(tl, 0, "void *%s;\n", buf);
Fh(tl, 0, "static void *%s;\n", buf);
Fi(tl, 0, "\tVRT_re_init(&%s, ",buf);
EncToken(tl->fi, tl->t);
Fi(tl, 0, ", %d);\n", sub);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment