[master] 496c02569 vmod interfaces do not need stdio.h

Nils Goroll nils.goroll at uplex.de
Thu Jan 7 17:23:06 UTC 2021


commit 496c025697c35549f05675d8393a37f61bdc6499
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Jan 7 18:11:19 2021 +0100

    vmod interfaces do not need stdio.h

diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py
index 7247b0bde..25d3f977e 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -1097,7 +1097,6 @@ class vcc(object):
         self.mkdefs(fx);
 
         fo.write('#include "config.h"\n')
-        fo.write('#include <stdio.h>\n')
         for i in ["vdef", "vrt", self.pfx, "vmod_abi"]:
             fo.write('#include "%s.h"\n' % i)
         fo.write("\n")


More information about the varnish-commit mailing list