mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 15:30:02 +00:00
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>
This commit is contained in:
parent
3a298c75fd
commit
04cbc08f89
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user