Commit 1cee4d37 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

varnishtest: Address flexelint's tunnel complaints

parent d4cf677a
......@@ -148,8 +148,6 @@ void start_h2(struct http *hp);
void stop_h2(struct http *hp);
void b64_settings(const struct http *hp, const char *s);
cmd_f cmd_tunnel;
/* vtc_gzip.c */
void vtc_gzip(struct http *, const char *, char **, long *);
void vtc_gunzip(struct http *, char *, long *);
......
......@@ -290,7 +290,7 @@ cmd_tunnel_resume(CMD_ARGS)
AZ(pthread_mutex_unlock(&t->mtx));
}
const struct cmds tunnel_cmds[] = {
static const struct cmds tunnel_cmds[] = {
#define CMD_TUNNEL(n) { #n, cmd_tunnel_##n },
CMD_TUNNEL(pause)
CMD_TUNNEL(send)
......@@ -305,7 +305,7 @@ const struct cmds tunnel_cmds[] = {
*/
static void
tunnel_read(struct tunnel *t, struct vtclog *vl, struct pollfd *pfd,
tunnel_read(struct tunnel *t, struct vtclog *vl, const struct pollfd *pfd,
struct tunnel_lane *lane)
{
size_t len;
......
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