[master] 63bf572 Make vdef.h part of the VCC output
Poul-Henning Kamp
phk at FreeBSD.org
Tue Mar 3 09:51:53 CET 2015
commit 63bf572edd04a45f6ee4f695d831c3e108a86de3
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Mar 3 08:51:26 2015 +0000
Make vdef.h part of the VCC output
diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 438f9ad..9c90a55 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -1153,6 +1153,7 @@ vcl_output_lang_h(struct vsb *sb)
{
""")
+emit_file(fo, buildroot, "include/vdef.h")
emit_file(fo, buildroot, "include/vcl.h")
emit_file(fo, srcroot, "include/vrt.h")
emit_file(fo, buildroot, "include/vrt_obj.h")
diff --git a/lib/libvcc/vcc_compile.c b/lib/libvcc/vcc_compile.c
index 4ebe707..e210c42 100644
--- a/lib/libvcc/vcc_compile.c
+++ b/lib/libvcc/vcc_compile.c
@@ -632,8 +632,6 @@ vcc_CompileSource(const struct vcc *tl0, struct vsb *sb, struct source *sp)
/* Macro for accessing directors */
Fh(tl, 0, "#define VGCDIR(n) VCL_conf.director[VGC_backend_##n]\n");
- Fh(tl, 0, "#define __match_proto__(xxx) /*lint -e{818} */\n");
-
/* Register and lex the main source */
VTAILQ_INSERT_TAIL(&tl->sources, sp, list);
sp->idx = tl->nsources++;
More information about the varnish-commit
mailing list