Commit 48af2f5a authored by Federico G. Schwindt's avatar Federico G. Schwindt

Rename VRT_error() to VRT_synth() for consistency

parent 5be40a69
......@@ -48,7 +48,7 @@ const void * const vrt_magic_string_unset = &vrt_magic_string_unset;
/*--------------------------------------------------------------------*/
void
VRT_error(VRT_CTX, unsigned code, const char *reason)
VRT_synth(VRT_CTX, unsigned code, const char *reason)
{
CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
......
......@@ -253,7 +253,7 @@ void VRT_purge(VRT_CTX, double ttl, double grace, double keep);
void VRT_count(VRT_CTX, unsigned);
int VRT_rewrite(const char *, const char *);
void VRT_error(VRT_CTX, unsigned, const char *);
void VRT_synth(VRT_CTX, unsigned, const char *);
int VRT_switch_config(const char *);
struct http *VRT_selecthttp(VRT_CTX, enum gethdr_e);
......
......@@ -324,7 +324,7 @@ parse_return(struct vcc *tl)
}
ExpectErr(tl, '(');
vcc_NextToken(tl);
Fb(tl, 1, "VRT_error(ctx,\n");
Fb(tl, 1, "VRT_synth(ctx,\n");
tl->indent += INDENT;
vcc_Expr(tl, INT);
ERRCHK(tl);
......
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