summaryrefslogtreecommitdiffstats
path: root/vpp-api/python/pneum
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-api/python/pneum
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-api/python/pneum')
-rw-r--r--vpp-api/python/pneum/test_pneum.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/vpp-api/python/pneum/test_pneum.c b/vpp-api/python/pneum/test_pneum.c
index 62f4a7446d4..e873114fab9 100644
--- a/vpp-api/python/pneum/test_pneum.c
+++ b/vpp-api/python/pneum/test_pneum.c
@@ -45,6 +45,10 @@
#include <vpp-api/vpe_all_api_h.h>
#undef vl_typedefs
+/* we are not linking with vlib */
+vlib_main_t vlib_global_main;
+vlib_main_t **vlib_mains;
+
volatile int sigterm_received = 0;
volatile u32 result_ready;
volatile u16 result_msg_id;