tcp: cleanup syn-sent and bulk buffer translation
[vpp.git] / src / vppinfra / vec.c
index f3cdb14..970f7f7 100644 (file)
 #include <vppinfra/vec.h>
 #include <vppinfra/mem.h>
 
+#ifndef CLIB_VECTOR_GROW_BY_ONE
+#define CLIB_VECTOR_GROW_BY_ONE 0
+#endif
+
 /* Vector resize operator.  Called as needed by various macros such as
    vec_add1() when we need to allocate memory. */
 __clib_export void *
@@ -134,19 +138,19 @@ vec_resize_allocate_memory (void *v,
   return v + header_bytes;
 }
 
-uword
+__clib_export uword
 clib_mem_is_vec_h (void *v, uword header_bytes)
 {
   return clib_mem_is_heap_object (vec_header (v, header_bytes));
 }
 
-u32
+__clib_export u32
 vec_len_not_inline (void *v)
 {
   return vec_len (v);
 }
 
-void
+__clib_export void
 vec_free_not_inline (void *v)
 {
   vec_free (v);