[master] 9850cbf Add lint comments around tables

Poul-Henning Kamp phk at varnish-cache.org
Sat Jun 29 15:38:24 CEST 2013


commit 9850cbf457d192269657514e992788c6c2262e9f
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sat Jun 29 13:36:14 2013 +0000

    Add lint comments around tables

diff --git a/include/tbl/vsc_levels.h b/include/tbl/vsc_levels.h
index 9471a9a..7e235ca 100644
--- a/include/tbl/vsc_levels.h
+++ b/include/tbl/vsc_levels.h
@@ -35,9 +35,11 @@
  *    d - Description:		Long description of this counter type
  */
 
+/*lint -save -e525 -e539 */
 VSC_LEVEL_F(info,	"INFO",		"Informational counters",
     "Counters giving runtime information")
 VSC_LEVEL_F(diag,	"DIAG",		"Diagnostic counters",
     "Counters giving diagnostic information")
 VSC_LEVEL_F(debug,	"DEBUG",	"Debug counters",
     "Counters giving Varnish internals debug information")
+/*lint -restore */
diff --git a/include/tbl/vsc_types.h b/include/tbl/vsc_types.h
index 57c631a..9c9d215 100644
--- a/include/tbl/vsc_types.h
+++ b/include/tbl/vsc_types.h
@@ -40,7 +40,7 @@
  * display order in varnishstat.
  */
 
-
+/*lint -save -e525 -e539 */
 VSC_TYPE_F(main,	"MAIN",		"",		"Child",
     "Child process main counters"
 )
@@ -62,3 +62,4 @@ VSC_TYPE_F(vbe,		"VBE",		"VBE",		"Backend",
 VSC_TYPE_F(lck,		"LCK",		"LCK",		"Lock",
     "Mutex lock counters"
 )
+/*lint -restore */



More information about the varnish-commit mailing list