ipsec: fast path outbound policy matching implementation for ipv6
[vpp.git] / src / vppinfra / unix-misc.c
index 7c276b0..e73d01a 100644 (file)
@@ -158,7 +158,7 @@ unix_proc_file_contents (char *file, u8 ** result)
 
       if (bytes == 0)
        {
-         _vec_len (rv) = pos;
+         vec_set_len (rv, pos);
          break;
        }
       pos += bytes;
@@ -171,7 +171,7 @@ unix_proc_file_contents (char *file, u8 ** result)
 
 void os_panic (void) __attribute__ ((weak));
 
-void
+__clib_export void
 os_panic (void)
 {
   abort ();