[3.0] 1914ab2 Prototype adjustment for last commit

Tollef Fog Heen tfheen at varnish-cache.org
Thu Sep 22 14:02:21 CEST 2011


commit 1914ab231616a517d7fa8a088f70698d2ccd6e2f
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