]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: fix build with GCC 10
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 8 Mar 2020 16:17:49 +0000 (17:17 +0100)
committerDavid Lamparter <equinox@diac24.net>
Thu, 23 Apr 2020 17:06:40 +0000 (19:06 +0200)
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
(cherry picked from commit 9635de6e9b8cbc35f5ec62d4d1dc8b6c72df8c45)

tests/bgpd/test_mpath.c

index 21f4b38773c3f4d163c53a448250516f667f8229..14efe17b73a52511e143f78b6cd4c10558e429b8 100644 (file)
@@ -75,7 +75,7 @@ struct testcase_t__ {
 
 /* need these to link in libbgp */
 struct thread_master *master = NULL;
-struct zclient *zclient;
+extern struct zclient *zclient;
 struct zebra_privs_t bgpd_privs = {
        .user = NULL,
        .group = NULL,