summaryrefslogtreecommitdiffstats
path: root/sharpd
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2020-07-07 19:00:42 +0200
committerMark Stapp <mjs@voltanet.io>2020-07-07 19:00:42 +0200
commit04cbc08f89e42420c93d0719d1a79362f44f2d38 (patch)
tree5897f79526e0bdc4a99e080f7d4a14f313bada1a /sharpd
parentMerge pull request #6685 from donaldsharp/fix_rare_ospf_test_failure (diff)
downloadfrr-04cbc08f89e42420c93d0719d1a79362f44f2d38.tar.xz
frr-04cbc08f89e42420c93d0719d1a79362f44f2d38.zip
sharpd: use extern for globals
Use extern when declaring a couple of globals in sharp_zebra. gcc 10 on fedora 32 needs this. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'sharpd')
-rw-r--r--sharpd/sharp_zebra.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sharpd/sharp_zebra.c b/sharpd/sharp_zebra.c
index baa4e2ad5..c47f2105c 100644
--- a/sharpd/sharp_zebra.c
+++ b/sharpd/sharp_zebra.c
@@ -39,10 +39,10 @@
struct zclient *zclient = NULL;
/* For registering threads. */
-struct thread_master *master;
+extern struct thread_master *master;
/* Privs info */
-struct zebra_privs_t sharp_privs;
+extern struct zebra_privs_t sharp_privs;
DEFINE_MTYPE_STATIC(SHARPD, ZC, "Test zclients");