Commit 356144b7 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Use precise argument type

parent a7ee2b72
......@@ -503,14 +503,12 @@ vbe_dir_http1pipe(const struct director *d, struct req *req, struct busyobj *bo)
void
VRT_init_vbe(VRT_CTX, struct director **bp, int idx,
const void *priv)
const struct vrt_backend *t)
{
const struct vrt_backend *t;
struct vbe_dir *vs;
ASSERT_CLI();
CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
t = priv;
ALLOC_OBJ(vs, VDI_SIMPLE_MAGIC);
XXXAN(vs);
......
......@@ -225,7 +225,7 @@ void VRT_Rollback(VRT_CTX, const struct http *);
void VRT_synth_page(VRT_CTX, const char *, ...);
/* Backend related */
void VRT_init_vbe(VRT_CTX, struct director **, int idx, const void *priv);
void VRT_init_vbe(VRT_CTX, struct director **, int idx, const struct vrt_backend *);
void VRT_fini_vbe(VRT_CTX, struct director *);
/* Suckaddr related */
......
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