cli_msg() moved to cli.h, so that it can be used outside the parser.
This commit is contained in:
parent
ea32afb765
commit
3579376927
2 changed files with 1 additions and 2 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue