[master] 4b6958587 Silence Flexlint 9075 ("No prior declaration") for the bogo-structures.
Poul-Henning Kamp
phk at FreeBSD.org
Tue Aug 6 09:15:11 UTC 2019
commit 4b695858761b2acc3a30ad92a5a6788db084d7a6
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Aug 6 08:17:42 2019 +0000
Silence Flexlint 9075 ("No prior declaration") for the bogo-structures.
diff --git a/lib/libvmod_debug/vmod_debug.c b/lib/libvmod_debug/vmod_debug.c
index 2606ae274..83b102176 100644
--- a/lib/libvmod_debug/vmod_debug.c
+++ b/lib/libvmod_debug/vmod_debug.c
@@ -882,6 +882,8 @@ xyzzy_get_ip(VRT_CTX, struct vmod_priv *priv)
* For testing import code on bad vmod files (m00003.vtc)
*/
+//lint -save -e9075 external symbol '...' defined without a prior declaration
+
const struct vmod_data Vmod_wrong0_Data = {
.vrt_major = 0,
.vrt_minor = 0,
@@ -918,3 +920,5 @@ const struct vmod_data Vmod_wrong3_Data = {
.proto = "blablabla",
.abi = "abiblabla",
};
+
+//lint -restore
More information about the varnish-commit
mailing list