From f789eea7bae95196dc065425d7c3d8feb9032343 Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 19 Jul 2008 09:44:40 +0000 Subject: [PATCH] Don't constify the cli argument to cli_out() git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2956 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/include/cli_priv.h | 2 +- varnish-cache/lib/libvarnish/cli_common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-cache/include/cli_priv.h b/varnish-cache/include/cli_priv.h index c0a12181..2ff5677c 100644 --- a/varnish-cache/include/cli_priv.h +++ b/varnish-cache/include/cli_priv.h @@ -53,7 +53,7 @@ struct cli_proto { }; /* The implementation must provide these functions */ -void cli_out(const struct cli *cli, const char *fmt, ...); +void cli_out(struct cli *cli, const char *fmt, ...); void cli_param(struct cli *cli); void cli_result(struct cli *cli, unsigned r); diff --git a/varnish-cache/lib/libvarnish/cli_common.c b/varnish-cache/lib/libvarnish/cli_common.c index d375428d..7fda74e0 100644 --- a/varnish-cache/lib/libvarnish/cli_common.c +++ b/varnish-cache/lib/libvarnish/cli_common.c @@ -55,7 +55,7 @@ #include "cli_common.h" void -cli_out(const struct cli *cli, const char *fmt, ...) +cli_out(struct cli *cli, const char *fmt, ...) { va_list ap; -- 2.39.5