]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ldpd: remove multiple definitions of thread_master
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 8 Mar 2020 19:21:05 +0000 (20:21 +0100)
committerDavid Lamparter <equinox@diac24.net>
Thu, 23 Apr 2020 17:13:46 +0000 (19:13 +0200)
This fixes the last issue compiling FRR with GCC 10 on Fedora Rawhide.

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
(cherry picked from commit f3faea7fe3bf5f73991effe56290346e3f43728e)

ldpd/lde.c
ldpd/ldpe.c

index ac680b47a93230b1a7d88fffc2195a2c12dbe7ec..4555375016bc9c421d3dda933f635b561649ba7e 100644 (file)
@@ -71,9 +71,6 @@ struct nbr_tree                lde_nbrs = RB_INITIALIZER(&lde_nbrs);
 static struct imsgev   *iev_ldpe;
 static struct imsgev   *iev_main, *iev_main_sync;
 
-/* Master of threads. */
-struct thread_master *master;
-
 /* lde privileges */
 static zebra_capabilities_t _caps_p [] =
 {
index 3a964c0caa754574b3b00cfd7d60a8efd4b4321f..82e52f5fe3f05b35a2b37838161b5e91fdea6ce8 100644 (file)
@@ -54,9 +54,6 @@ static struct imsgev  *iev_lde;
 static struct thread   *pfkey_ev;
 #endif
 
-/* Master of threads. */
-struct thread_master *master;
-
 /* ldpe privileges */
 static zebra_capabilities_t _caps_p [] =
 {