summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/netmap/netmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/devices/netmap/netmap.h')
-rw-r--r--src/vnet/devices/netmap/netmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/devices/netmap/netmap.h b/src/vnet/devices/netmap/netmap.h
index 047318909c9..29f855fda8e 100644
--- a/src/vnet/devices/netmap/netmap.h
+++ b/src/vnet/devices/netmap/netmap.h
@@ -98,7 +98,7 @@ typedef struct
u32 input_cpu_count;
} netmap_main_t;
-netmap_main_t netmap_main;
+extern netmap_main_t netmap_main;
extern vnet_device_class_t netmap_device_class;
extern vlib_node_registration_t netmap_input_node;