[master] a740fdc Emit the actual vmod name in the Flexelint comment
Poul-Henning Kamp
phk at FreeBSD.org
Mon Apr 24 22:55:05 CEST 2017
commit a740fdc0efb77135b77cc25ea75b97ddc2042912
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Apr 24 20:39:58 2017 +0000
Emit the actual vmod name in the Flexelint comment
diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py
index cbe06b9..efa8c58 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -811,7 +811,7 @@ class vcc(object):
self.cstruct(fx, "struct " + csn)
- fo.write("\n/*lint -esym(754, Vmod_debug_Func::*) */\n")
+ fo.write("\n/*lint -esym(754, Vmod_" + self.modname + "_Func::*) */\n")
self.cstruct_init(fo, "struct " + csn)
fx.close()
More information about the varnish-commit
mailing list