r4921 - trunk/varnish-cache/bin/varnishstat

phk at varnish-cache.org phk at varnish-cache.org
Mon Jun 7 10:19:51 CEST 2010


Author: phk
Date: 2010-06-07 10:19:51 +0200 (Mon, 07 Jun 2010)
New Revision: 4921

Added:
   trunk/varnish-cache/bin/varnishstat/flint.lnt
   trunk/varnish-cache/bin/varnishstat/flint.sh
Log:
Forgot to add flexelint files for varnishstat



Added: trunk/varnish-cache/bin/varnishstat/flint.lnt
===================================================================
--- trunk/varnish-cache/bin/varnishstat/flint.lnt	                        (rev 0)
+++ trunk/varnish-cache/bin/varnishstat/flint.lnt	2010-06-07 08:19:51 UTC (rev 4921)
@@ -0,0 +1,29 @@
+
++libh mgt_event.h
+
+-esym(850, av)
+
+-e712	// 14      Info    712     Loss of precision (___) (___ to ___)
+-e747	// 16      Info    747     Significant prototype coercion (___) ___ to ___
+
+-e763	// Redundant declaration for symbol '...' previously declared
+-e716	// while(1) ... 
+
+-e457 // unprotected write access 
+-e459 // unprotected access 
+-e458 // unprotected access 
+
+-e732   // Loss of sign (arg. no. 2) (int to unsigned
+-e737	// [45]  Loss of sign in promotion from int to unsigned
+-e713	// Loss of precision (assignment) (unsigned long long to long long)
+-e574	// Signed-unsigned mix with relational
+
+///////////////////////////////////////////////////////////////////////
+// Varnishstat specific
+
+-emacro(774, MAC_STAT)
+-emacro(506, MAC_STAT)
+-emacro(525, MAC_STAT)
+-efile(451, "*/include/stat_field.h")
+-e850 // for loop index variable '___' whose type category is '___' is modified in body of the for loop that began at '___'
+

Added: trunk/varnish-cache/bin/varnishstat/flint.sh
===================================================================
--- trunk/varnish-cache/bin/varnishstat/flint.sh	                        (rev 0)
+++ trunk/varnish-cache/bin/varnishstat/flint.sh	2010-06-07 08:19:51 UTC (rev 4921)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+flexelint \
+	-I/usr/include \
+	-I. \
+	-I../../include \
+	-I../.. \
+	../flint.lnt \
+	flint.lnt \
+	*.c \
+	../../lib/libvarnishapi/*.c


Property changes on: trunk/varnish-cache/bin/varnishstat/flint.sh
___________________________________________________________________
Added: svn:executable
   + *




More information about the varnish-commit mailing list