aboutsummaryrefslogtreecommitdiffstats
path: root/vpp/vpp-api/test_ha.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-12-19 16:28:36 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2016-12-20 10:23:44 +0000
commit6a7acc2f9a551011b190e11910d8bfd09d8c74a4 (patch)
treee3460ba4f3954aa2fd0d2cb7c6f5a4870c970be8 /vpp/vpp-api/test_ha.c
parentfc6397307682b9874cd734d2bfcba9f6ef4820a9 (diff)
Declare variables as external
non-external declarations in header files are generating multiple empty definitions of the same symbol. Change-Id: I7f3933404f79d08579468d0052c106731b57507c Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vpp/vpp-api/test_ha.c')
-rw-r--r--vpp/vpp-api/test_ha.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/vpp/vpp-api/test_ha.c b/vpp/vpp-api/test_ha.c
index 6353396d..91364d8b 100644
--- a/vpp/vpp-api/test_ha.c
+++ b/vpp/vpp-api/test_ha.c
@@ -95,6 +95,9 @@ static void vl_api_control_ping_reply_t_handler
tm->pings_replied++;
}
+vlib_main_t vlib_global_main;
+vlib_main_t **vlib_mains;
+
void
vlib_cli_output (struct vlib_main_t *vm, char *fmt, ...)
{