From 13dc6f0c9a62e3a433633c013cd53a51d24c429f Mon Sep 17 00:00:00 2001 From: tfheen Date: Mon, 10 Nov 2008 11:55:15 +0000 Subject: [PATCH] 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 --- varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]\"," } -- 2.39.5