From f140bd50f0a38d6761df42396fbeb030d103b493 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 7 Mar 2020 23:30:44 +0100 Subject: staticd: fix build on Fedora Rawhide Fixes the following linker issue: CC staticd/static_main.o CC staticd/static_debug.o CC staticd/static_vty.o AR staticd/libstatic.a CCLD staticd/staticd /usr/bin/ld: staticd/libstatic.a(static_debug.o):/home/ruben/src/frr/staticd/static_debug.h:32: multiple definition of `static_dbg_events'; staticd/static_main.o:/home/ruben/src/frr/staticd/static_debug.h:32: first defined here Signed-off-by: Ruben Kerkhof --- staticd/static_debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'staticd/static_debug.h') diff --git a/staticd/static_debug.h b/staticd/static_debug.h index 6e58118ed0..8932e2d429 100644 --- a/staticd/static_debug.h +++ b/staticd/static_debug.h @@ -29,7 +29,7 @@ #include "lib/debug.h" /* staticd debugging records */ -struct debug static_dbg_events; +extern struct debug static_dbg_events; /* * Initialize staticd debugging. -- cgit v1.2.3