From f15866146adcf3273da6f29f05d42193c7af4b07 Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Thu, 30 Mar 2017 09:33:01 -0400 Subject: Fix more "symbol XXX found in none of the libs" warnings Change-Id: I4467f26da5bdcfd76e5914e0124a83b659757947 Signed-off-by: Dave Barach --- src/vat/main.c | 1 - src/vnet/interface_api.c | 1 + src/vpp/api/api.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/vat/main.c b/src/vat/main.c index e01d15ec026..9e8bb2fe599 100644 --- a/src/vat/main.c +++ b/src/vat/main.c @@ -19,7 +19,6 @@ vat_main_t vat_main; #include -vpe_api_main_t vpe_api_main; void vat_suspend (vlib_main_t * vm, f64 interval) diff --git a/src/vnet/interface_api.c b/src/vnet/interface_api.c index 39c062714bf..0b4fa81a767 100644 --- a/src/vnet/interface_api.c +++ b/src/vnet/interface_api.c @@ -46,6 +46,7 @@ #undef vl_printfun #include +vpe_api_main_t vpe_api_main; #define foreach_vpe_api_msg \ _(SW_INTERFACE_SET_FLAGS, sw_interface_set_flags) \ diff --git a/src/vpp/api/api.c b/src/vpp/api/api.c index 8df40406131..7f6a125e478 100644 --- a/src/vpp/api/api.c +++ b/src/vpp/api/api.c @@ -158,7 +158,7 @@ typedef enum } resolve_t; static vlib_node_registration_t vpe_resolver_process_node; -vpe_api_main_t vpe_api_main; +extern vpe_api_main_t vpe_api_main; static int arp_change_delete_callback (u32 pool_index, u8 * notused); static int nd_change_delete_callback (u32 pool_index, u8 * notused); -- cgit 1.2.3-korg