Commit c3f399ca authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Remove unused function VRT_MkGethdr()

parent b6da2dc7
......@@ -52,24 +52,6 @@
const void * const vrt_magic_string_end = &vrt_magic_string_end;
const void * const vrt_magic_string_unset = &vrt_magic_string_unset;
/*--------------------------------------------------------------------*/
const struct gethdr_s *
VRT_MkGethdr(const struct vrt_ctx *ctx, enum gethdr_e where, const char *what)
{
struct gethdr_s *retval;
CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
CHECK_OBJ_NOTNULL(ctx->req, REQ_MAGIC);
// XXX ?
retval = (void*)WS_Alloc(ctx->req->wrk->aws, sizeof *retval);
AN(retval);
retval->where = where;
retval->what = what;
return (retval);
}
/*--------------------------------------------------------------------*/
void
......
......@@ -207,8 +207,6 @@ int VRT_rewrite(const char *, const char *);
void VRT_error(const struct vrt_ctx *, unsigned, const char *);
int VRT_switch_config(const char *);
const struct gethdr_s *VRT_MkGethdr(const struct vrt_ctx *,enum gethdr_e,
const char *);
char *VRT_GetHdr(const struct vrt_ctx *, const struct gethdr_s *);
void VRT_SetHdr(const struct vrt_ctx *, const struct gethdr_s *, const char *, ...);
void VRT_handling(const struct vrt_ctx *, unsigned hand);
......
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