Commit 35793769 authored by Martin Mareš's avatar Martin Mareš

cli_msg() moved to cli.h, so that it can be used outside the parser.

parent ea32afb7
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment