[master] eea97db Prototype adjustment for last commit

Poul-Henning Kamp phk at varnish-cache.org
Wed Sep 7 21:54:47 CEST 2011


commit eea97dbea388be4d52a5919b0ec938bae4d0e6e3
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Sep 7 19:54:35 2011 +0000

    Prototype adjustment for last commit

diff --git a/lib/libvcl/vcc_compile.c b/lib/libvcl/vcc_compile.c
index c2a52d4..f4a85a0 100644
--- a/lib/libvcl/vcc_compile.c
+++ b/lib/libvcl/vcc_compile.c
@@ -322,7 +322,7 @@ EmitFiniFunc(const struct vcc *tl)
 {
 	unsigned u;
 
-	Fc(tl, 0, "\nstatic int\nVGC_Fini(struct cli *cli)\n{\n\n");
+	Fc(tl, 0, "\nstatic void\nVGC_Fini(struct cli *cli)\n{\n\n");
 
 	/*
 	 * We do this here, so we are sure they happen before any
@@ -333,7 +333,6 @@ EmitFiniFunc(const struct vcc *tl)
 
 	AZ(VSB_finish(tl->ff));
 	VSB_cat(tl->fc, VSB_data(tl->ff));
-	Fc(tl, 0, "\treturn(0);\n");
 	Fc(tl, 0, "}\n");
 }
 



More information about the varnish-commit mailing list