Commit 0a2fe2f1 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Update to new VDP->init() prototype

parent 1a818d8b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment