Commit 0ef94c7d authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Constify WS_Free()



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2965 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent afac6471
......@@ -602,7 +602,7 @@ void WS_Reset(struct ws *ws, char *p);
char *WS_Alloc(struct ws *ws, unsigned bytes);
char *WS_Dup(struct ws *ws, const char *);
char *WS_Snapshot(struct ws *ws);
unsigned WS_Free(struct ws *ws);
unsigned WS_Free(const struct ws *ws);
/* rfc2616.c */
int RFC2616_cache_policy(const struct sess *sp, const struct http *hp);
......
......@@ -130,7 +130,7 @@ WS_Dup(struct ws *ws, const char *s)
}
unsigned
WS_Free(struct ws *ws)
WS_Free(const struct ws *ws)
{
WS_Assert(ws);
......
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