From: phk Date: Mon, 16 Jun 2008 21:58:57 +0000 (+0000) Subject: Move cli_func_ping() prototype where it belongs. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8ef032bc4052606c0e158decf04a19d47a37f31;p=varnish Move cli_func_ping() prototype where it belongs. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2704 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/include/cli_common.h b/varnish-cache/include/cli_common.h index 90e856db..18bed279 100644 --- a/varnish-cache/include/cli_common.h +++ b/varnish-cache/include/cli_common.h @@ -37,5 +37,3 @@ struct cli { int cli_writeres(int fd, const struct cli *cli); int cli_readres(int fd, unsigned *status, char **ptr, double tmo); - -cli_func_t cli_func_ping; diff --git a/varnish-cache/include/cli_priv.h b/varnish-cache/include/cli_priv.h index 74ce9677..c0a12181 100644 --- a/varnish-cache/include/cli_priv.h +++ b/varnish-cache/include/cli_priv.h @@ -60,4 +60,5 @@ void cli_result(struct cli *cli, unsigned r); /* From libvarnish/cli.c */ void cli_dispatch(struct cli *cli, struct cli_proto *clp, const char *line); cli_func_t cli_func_help; +cli_func_t cli_func_ping; struct cli_proto *cli_concat(struct cli_proto *, struct cli_proto *);