]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
cli_msg() moved to cli.h, so that it can be used outside the parser.
authorMartin Mares <mj@ucw.cz>
Thu, 25 Nov 1999 15:34:51 +0000 (15:34 +0000)
committerMartin Mares <mj@ucw.cz>
Thu, 25 Nov 1999 15:34:51 +0000 (15:34 +0000)
conf/confbase.Y
nest/cli.h

index bc8f5357c4821c41fa0a1e65732b995ad09c9aaa..02a86e94dc4fae699f0ed2c75e388cd967bb8f51 100644 (file)
@@ -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 {
index 2d748db1778ce5bb7ef74a3df0ec703655170aeb..3af1885d2702dfc7fea8564c29fad118b60402b9 100644 (file)
@@ -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 */