From: tfheen Date: Mon, 10 Nov 2008 11:55:15 +0000 (+0000) Subject: Constify vcl_tnames in .tcl script too X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13dc6f0c9a62e3a433633c013cd53a51d24c429f;p=varnish Constify vcl_tnames in .tcl script too Change the .tcl script corresponding to r3364, fixes build failure git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3377 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl b/varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl index d0519546..eef6334f 100755 --- a/varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl +++ b/varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl @@ -331,7 +331,7 @@ puts $fo " }" puts $fo "}" puts $fo "" -puts $fo "const char *vcl_tnames\[256\] = {" +puts $fo "const char * const vcl_tnames\[256\] = {" foreach i $token2 { puts $fo "\t\[[lindex $i 0]\] = \"[lindex $i 0]\"," }