[master] cdda889 Update FlexeLint controls to match renames.

Poul-Henning Kamp phk at varnish-cache.org
Wed Jun 1 15:44:40 CEST 2011


commit cdda8895284f3adbe6acb7900478ae051b89f6cc
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Jun 1 13:44:25 2011 +0000

    Update FlexeLint controls to match renames.

diff --git a/bin/flint.lnt b/bin/flint.lnt
index b10ceba..d2f7c0e 100644
--- a/bin/flint.lnt
+++ b/bin/flint.lnt
@@ -14,7 +14,7 @@
 
 ///////////////////////////////////////////////////////////////////////
 // assert() support, common to libvarnish and libvarnishapi
--sem(vas_fail, r_no)
+-sem(VAS_Fail, r_no)
 -emacro(506, assert)    // constant value boolean
 -emacro(827, assert)    // loop not reachable
 -emacro(774, assert)    // booelan always true
@@ -55,18 +55,18 @@
 ///////////////////////////////////////////////////////////////////////
 // VSB
 
--esym(759, vsb_*)	// header decl could be moved
--esym(765, vsb_*)	// exten could be made static
--esym(714, vsb_*)	// symb not ref
--sem(vsb_new, @p == (1p ? 1p : malloc(1)))
--sem(vsb_delete, custodial(1))
-
--esym(534, vsb_cat)	// Ignore retval
--esym(534, vsb_bcat)
--esym(534, vsb_putc)
--esym(534, vsb_printf)
--esym(534, vsb_vprintf)
--esym(534, vsb_putc)
+-esym(759, VSB_*)	// header decl could be moved
+-esym(765, VSB_*)	// exten could be made static
+-esym(714, VSB_*)	// symb not ref
+-sem(VSB_new, @p == (1p ? 1p : malloc(1)))
+-sem(VSB_delete, custodial(1))
+
+-esym(534, VSB_cat)	// Ignore retval
+-esym(534, VSB_bcat)
+-esym(534, VSB_putc)
+-esym(534, VSB_printf)
+-esym(534, VSB_vprintf)
+-esym(534, VSB_putc)
 
 ///////////////////////////////////////////////////////////////////////
 // System library/POSIX related



More information about the varnish-commit mailing list