[master] b581852 Since this macro does not preceede the entire function, it needs two '-' prefix to be sure to apply where we want it.

Poul-Henning Kamp phk at FreeBSD.org
Sat Aug 19 00:31:05 CEST 2017


commit b58185295105e7643cb01d348af6bc30c141c7bc
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Fri Aug 18 22:29:57 2017 +0000

    Since this macro does not preceede the entire function, it needs
    two '-' prefix to be sure to apply where we want it.

diff --git a/include/vdef.h b/include/vdef.h
index aa9be07..0995edf 100644
--- a/include/vdef.h
+++ b/include/vdef.h
@@ -110,7 +110,7 @@
  * even if that means not const'ing a const'able argument.
  * The typedef should be specified as argument to the macro.
  */
-#define __match_proto__(xxx)		/*lint -e{818} */
+#define __match_proto__(xxx)		/*lint --e{818} */
 
 /*
  * State variables may change value before we have considered the



More information about the varnish-commit mailing list