Constify

parent 36617b84
...@@ -140,7 +140,7 @@ vmod_regex__fini(struct vmod_re_regex **rep) ...@@ -140,7 +140,7 @@ vmod_regex__fini(struct vmod_re_regex **rep)
} }
static VCL_BOOL static VCL_BOOL
match(VRT_CTX, vre_t *vre, VCL_STRING subject, struct vmod_priv *task, match(VRT_CTX, const vre_t *vre, VCL_STRING subject, struct vmod_priv *task,
const struct vre_limits *vre_limits) const struct vre_limits *vre_limits)
{ {
ov_t *ov; ov_t *ov;
...@@ -193,7 +193,8 @@ match(VRT_CTX, vre_t *vre, VCL_STRING subject, struct vmod_priv *task, ...@@ -193,7 +193,8 @@ match(VRT_CTX, vre_t *vre, VCL_STRING subject, struct vmod_priv *task,
} }
static VCL_STRING static VCL_STRING
backref(VRT_CTX, VCL_INT refnum, VCL_STRING fallback, struct vmod_priv *task) backref(VRT_CTX, VCL_INT refnum, VCL_STRING fallback,
const struct vmod_priv *task)
{ {
ov_t *ov; ov_t *ov;
const char *substr, *start; const char *substr, *start;
......
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