aboutsummaryrefslogtreecommitdiffstats
path: root/vlib-api/vlibsocket/api.h
diff options
context:
space:
mode:
Diffstat (limited to 'vlib-api/vlibsocket/api.h')
-rw-r--r--vlib-api/vlibsocket/api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vlib-api/vlibsocket/api.h b/vlib-api/vlibsocket/api.h
index 3a86bd0c533..79c0d08a682 100644
--- a/vlib-api/vlibsocket/api.h
+++ b/vlib-api/vlibsocket/api.h
@@ -46,7 +46,7 @@ typedef struct
i8 *input_buffer;
} socket_main_t;
-socket_main_t socket_main;
+extern socket_main_t socket_main;
void socksvr_add_pending_output (struct unix_file *uf,
struct vl_api_registration_ *cf,