vcl: fix app destroy
[vpp.git] / src / vcl / vcl_private.h
index 38818d2..c4ec02e 100644 (file)
@@ -360,6 +360,7 @@ typedef struct vppcom_main_t_
 } vppcom_main_t;
 
 extern vppcom_main_t *vcm;
+extern vppcom_main_t _vppcom_main;
 
 #define VCL_INVALID_SESSION_INDEX ((u32)~0)
 #define VCL_INVALID_SESSION_HANDLE ((u64)~0)
@@ -667,8 +668,6 @@ void vcl_segment_detach (u64 segment_handle);
 
 u32 vcl_max_nsid_len (void);
 
-u8 *format_api_error (u8 * s, va_list * args);
-
 void vls_init ();
 #endif /* SRC_VCL_VCL_PRIVATE_H_ */