Commit 4b695858 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Silence Flexlint 9075 ("No prior declaration") for the bogo-structures.

parent c5d0a955
...@@ -882,6 +882,8 @@ xyzzy_get_ip(VRT_CTX, struct vmod_priv *priv) ...@@ -882,6 +882,8 @@ xyzzy_get_ip(VRT_CTX, struct vmod_priv *priv)
* For testing import code on bad vmod files (m00003.vtc) * 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 = { const struct vmod_data Vmod_wrong0_Data = {
.vrt_major = 0, .vrt_major = 0,
.vrt_minor = 0, .vrt_minor = 0,
...@@ -918,3 +920,5 @@ const struct vmod_data Vmod_wrong3_Data = { ...@@ -918,3 +920,5 @@ const struct vmod_data Vmod_wrong3_Data = {
.proto = "blablabla", .proto = "blablabla",
.abi = "abiblabla", .abi = "abiblabla",
}; };
//lint -restore
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment