diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-26 12:31:45 -0400 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-26 12:31:45 -0400 | 
| commit | 7cae98b292558928b7350e31f45d693fe36d7d08 (patch) | |
| tree | c8cc1ed74e74498802450eedcbcd106278415c59 /lib/command_graph.c | |
| parent | 97722e560ecaf87125aff5a56e247b7952ef8105 (diff) | |
lib: fix clippy build w/ gcc under certain configs
GCC's linker driver sometimes gets confused when building clippy.
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_graph.c')
| -rw-r--r-- | lib/command_graph.c | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/command_graph.c b/lib/command_graph.c index 4555d6eaeb..0e8669c4b5 100644 --- a/lib/command_graph.c +++ b/lib/command_graph.c @@ -25,8 +25,6 @@  #include <zebra.h>  #include "command_graph.h" -#include "command.h" -#include "log.h"  DEFINE_MTYPE_STATIC(LIB, CMD_TOKENS, "Command Tokens")  DEFINE_MTYPE_STATIC(LIB, CMD_DESC, "Command Token Text") @@ -462,6 +460,9 @@ void cmd_graph_names(struct graph *graph)  #ifndef BUILDING_CLIPPY +#include "command.h" +#include "log.h" +  void cmd_graph_node_print_cb(struct graph_node *gn, struct buffer *buf)  {  	static bool wasend;  | 
