From: Martin Mares Date: Thu, 25 Nov 1999 15:34:51 +0000 (+0000) Subject: cli_msg() moved to cli.h, so that it can be used outside the parser. X-Git-Tag: v1.2.0~1429 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=35793769273f7286aafa0455547d1d7cfeef3931;p=thirdparty%2Fbird.git cli_msg() moved to cli.h, so that it can be used outside the parser. --- diff --git a/conf/confbase.Y b/conf/confbase.Y index bc8f5357c..02a86e94d 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -19,8 +19,6 @@ CF_HDR #include "nest/cli.h" #include "filter/filter.h" -#define cli_msg(x...) cli_printf(this_cli, x) - CF_DECLS %union { diff --git a/nest/cli.h b/nest/cli.h index 2d748db17..3af1885d2 100644 --- a/nest/cli.h +++ b/nest/cli.h @@ -41,6 +41,7 @@ extern struct cli *this_cli; /* Used during parsing */ /* Functions to be called by command handlers */ void cli_printf(cli *, int, char *, ...); +#define cli_msg(x...) cli_printf(this_cli, x) /* Functions provided to sysdep layer */