diff options
| author | Renato Westphal <renato@openbsd.org> | 2018-04-26 16:47:15 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-26 16:47:15 -0300 |
| commit | d90b2b73cb174e781b796d2f9c7a9075e4327a59 (patch) | |
| tree | 562679bdb68b59563402cea7a1ec6de4e6ddf616 /lib/command_graph.c | |
| parent | 564159cbfaff37676fe5762350f8fa8cb01f32d1 (diff) | |
| parent | 7cae98b292558928b7350e31f45d693fe36d7d08 (diff) | |
Merge pull request #2125 from qlyoung/fix-gcc-build-command-graph
lib: fix clippy build w/ gcc under certain configs
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; |
