Constify

parent d31b1ff1
......@@ -123,7 +123,7 @@ Req_LogStart(const struct worker *wrk, struct req *req)
*/
struct req *
Req_New(struct sess *sp, struct req *preq)
Req_New(struct sess *sp, const struct req *preq)
{
struct pool *pp;
struct req *req;
......
......@@ -411,7 +411,7 @@ void pan_pool(struct vsb *);
int VRG_CheckBo(struct busyobj *);
/* cache_req.c */
struct req *Req_New(struct sess *, struct req *);
struct req *Req_New(struct sess *, const struct req *);
void Req_Release(struct req *);
void Req_Rollback(VRT_CTX);
void Req_Cleanup(struct sess *sp, struct worker *wrk, struct req *req);
......
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