misc: strcpy be gone
[vpp.git] / src / vcl / vcl_bapi.c
index af2eb03..4ec0908 100644 (file)
@@ -33,7 +33,7 @@
 #include <vpp/api/vpe_all_api_h.h>
 #undef vl_printfun
 
-u8 *
+static u8 *
 format_api_error (u8 * s, va_list * args)
 {
   i32 error = va_arg (*args, u32);
@@ -432,7 +432,7 @@ vppcom_send_application_tls_key_add (vcl_session_t * session, char *key,
 u32
 vcl_max_nsid_len (void)
 {
-  vl_api_application_attach_t *mp;
+  vl_api_app_attach_t *mp;
   return (sizeof (mp->namespace_id) - 1);
 }