mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-25 23:28:03 +00:00
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>
This commit is contained in:
parent
97722e560e
commit
7cae98b292
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user