]> err.no Git - varnish/commitdiff
Break the encoded .h files up at convenient newlines, to avoid minor
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 20 Oct 2008 20:05:25 +0000 (20:05 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 20 Oct 2008 20:05:25 +0000 (20:05 +0000)
edits to bases from generating huge diffs.

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

varnish-cache/lib/libvcl/vcc_gen_fixed_token.tcl

index bba59273cb45dbbc73669ffabe5ce5519a2cb2a5..d05195460814960769fceb153e47742dd19735fc 100755 (executable)
@@ -127,15 +127,15 @@ typedef void vcl_fini_f(struct cli *);
 typedef int vcl_func_f(struct sess *sp);
 }
 puts $fo "struct VCL_conf {"
-puts $fo {     unsigned        magic;
-#define VCL_CONF_MAGIC  0x7406c509      /* from /dev/random */
+puts $fo {     unsigned        magic;
+#define VCL_CONF_MAGIC 0x7406c509      /* from /dev/random */
 
-        struct director  **director;
-        unsigned        ndirector;
-        struct vrt_ref  *ref;
-        unsigned        nref;
-        unsigned        busy;
-        unsigned        discard;
+       struct director **director;
+       unsigned        ndirector;
+       struct vrt_ref  *ref;
+       unsigned        nref;
+       unsigned        busy;
+       unsigned        discard;
 
        unsigned        nsrc;
        const char      **srcname;
@@ -143,8 +143,8 @@ puts $fo {  unsigned        magic;
 
        unsigned        nhashcount;
 
-        vcl_init_f      *init_func;
-        vcl_fini_f      *fini_func;
+       vcl_init_f      *init_func;
+       vcl_fini_f      *fini_func;
 }
 foreach m $methods {
        puts $fo "\tvcl_func_f\t*[lindex $m 0]_func;"
@@ -376,7 +376,7 @@ proc copy_include {n} {
                }
                puts -nonewline $fo "\\n"
                incr n 2
-               if {$n > 53} {
+               if {$n > 30} {
                        puts $fo "\");"
                        set n 0
                }