diff options
author | Martin Mares <mj@ucw.cz> | 1999-11-25 16:34:51 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-11-25 16:34:51 +0100 |
commit | 35793769273f7286aafa0455547d1d7cfeef3931 (patch) | |
tree | 17a7c986279fd35e952a52d63b85359859b378d4 | |
parent | ea32afb765381e642a525409a8f6cdff99aa0225 (diff) | |
download | bird-35793769273f7286aafa0455547d1d7cfeef3931.tar bird-35793769273f7286aafa0455547d1d7cfeef3931.zip |
cli_msg() moved to cli.h, so that it can be used outside the parser.
-rw-r--r-- | conf/confbase.Y | 2 | ||||
-rw-r--r-- | nest/cli.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/conf/confbase.Y b/conf/confbase.Y index bc8f535..02a86e9 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 { @@ -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 */ |