summaryrefslogtreecommitdiffstats
path: root/src/vnet/vnet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/vnet.h')
-rw-r--r--src/vnet/vnet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/vnet.h b/src/vnet/vnet.h
index 8405f61b3c3..153fdcca785 100644
--- a/src/vnet/vnet.h
+++ b/src/vnet/vnet.h
@@ -78,8 +78,8 @@ typedef struct vnet_main_t
vlib_main_t *vlib_main;
} vnet_main_t;
-vnet_main_t vnet_main;
-vnet_main_t **vnet_mains;
+extern vnet_main_t vnet_main;
+extern vnet_main_t **vnet_mains;
#include <vnet/interface_funcs.h>
#include <vnet/global_funcs.h>