[master] 0a2fe2f18 Update to new VDP->init() prototype

Poul-Henning Kamp phk at FreeBSD.org
Mon Nov 2 10:47:09 UTC 2020


commit 0a2fe2f185e27203c6cfb58a037cd7feaeba31d5
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Nov 2 10:46:22 2020 +0000

    Update to new VDP->init() prototype

diff --git a/lib/libvmod_debug/vmod_debug.c b/lib/libvmod_debug/vmod_debug.c
index 44afe6098..429730c3b 100644
--- a/lib/libvmod_debug/vmod_debug.c
+++ b/lib/libvmod_debug/vmod_debug.c
@@ -101,9 +101,10 @@ static const struct vfp xyzzy_rot13 = {
 #define ROT13_BUFSZ 8
 
 static int v_matchproto_(vdp_init_f)
-xyzzy_rot13_init(struct vdp_ctx *vdc, void **priv)
+xyzzy_rot13_init(struct vdp_ctx *vdc, void **priv, struct objcore *oc)
 {
 	(void)vdc;
+	(void)oc;
 	AN(priv);
 	*priv = malloc(ROT13_BUFSZ);
 	if (*priv == NULL)


More information about the varnish-commit mailing list