aboutsummaryrefslogtreecommitdiffstats
path: root/vnet/vnet/devices/ssvm/ssvm_eth.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-03-14 20:02:35 +0100
committerDamjan Marion <damarion@cisco.com>2016-03-14 20:43:12 +0100
commitb8abf877ba27098ca706281182cac67e15d7dd1e (patch)
tree35bdd7f7c3ef3254cb1aa24fc7b50e84a54b5a70 /vnet/vnet/devices/ssvm/ssvm_eth.h
parent8941ec2cb4ff29dbf167e3b80e09a70c9164cc19 (diff)
Declare node, hw_interface_class and device_class instances as external
This fixes issue observed on Ubuntu 16.04 where dynamic loader is not finding correct instance of specific structure. Change-Id: I618d0933c7e171b8a9b40495b36894785af7790a Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vnet/vnet/devices/ssvm/ssvm_eth.h')
-rw-r--r--vnet/vnet/devices/ssvm/ssvm_eth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/devices/ssvm/ssvm_eth.h b/vnet/vnet/devices/ssvm/ssvm_eth.h
index 618fb5ca14b..70d895b9ad4 100644
--- a/vnet/vnet/devices/ssvm/ssvm_eth.h
+++ b/vnet/vnet/devices/ssvm/ssvm_eth.h
@@ -31,7 +31,7 @@
#include <ssvm.h>
-vnet_device_class_t ssvm_eth_device_class;
+extern vnet_device_class_t ssvm_eth_device_class;
extern vlib_node_registration_t ssvm_eth_input_node;
#define SSVM_BUFFER_SIZE \