mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 23:53:28 +00:00
Merge pull request #2125 from qlyoung/fix-gcc-build-command-graph
lib: fix clippy build w/ gcc under certain configs
This commit is contained in:
commit
d90b2b73cb
@ -25,8 +25,6 @@
|
|||||||
#include <zebra.h>
|
#include <zebra.h>
|
||||||
|
|
||||||
#include "command_graph.h"
|
#include "command_graph.h"
|
||||||
#include "command.h"
|
|
||||||
#include "log.h"
|
|
||||||
|
|
||||||
DEFINE_MTYPE_STATIC(LIB, CMD_TOKENS, "Command Tokens")
|
DEFINE_MTYPE_STATIC(LIB, CMD_TOKENS, "Command Tokens")
|
||||||
DEFINE_MTYPE_STATIC(LIB, CMD_DESC, "Command Token Text")
|
DEFINE_MTYPE_STATIC(LIB, CMD_DESC, "Command Token Text")
|
||||||
@ -462,6 +460,9 @@ void cmd_graph_names(struct graph *graph)
|
|||||||
|
|
||||||
#ifndef BUILDING_CLIPPY
|
#ifndef BUILDING_CLIPPY
|
||||||
|
|
||||||
|
#include "command.h"
|
||||||
|
#include "log.h"
|
||||||
|
|
||||||
void cmd_graph_node_print_cb(struct graph_node *gn, struct buffer *buf)
|
void cmd_graph_node_print_cb(struct graph_node *gn, struct buffer *buf)
|
||||||
{
|
{
|
||||||
static bool wasend;
|
static bool wasend;
|
||||||
|
Loading…
Reference in New Issue
Block a user