vppinfra: fix tests
Type: fix
Change-Id: If59a66aae658dd35dbcb4987ab00c306b3c6e2e2
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/vppinfra/valloc.c b/src/vppinfra/valloc.c
index 5e17a59..2f9e8d2 100644
--- a/src/vppinfra/valloc.c
+++ b/src/vppinfra/valloc.c
@@ -29,9 +29,8 @@
chunks, the chunk fusion algorithm won't merge them.
*/
-void
-clib_valloc_add_chunk (clib_valloc_main_t * vam,
- clib_valloc_chunk_t * template)
+__clib_export void
+clib_valloc_add_chunk (clib_valloc_main_t *vam, clib_valloc_chunk_t *template)
{
clib_valloc_chunk_t *ch, *new_ch;
u32 index;
@@ -309,8 +308,8 @@
@param verbose - int - verbosity level
@return u8 vector
*/
-u8 *
-format_valloc (u8 * s, va_list * va)
+__clib_export u8 *
+format_valloc (u8 *s, va_list *va)
{
clib_valloc_main_t *vam = va_arg (*va, clib_valloc_main_t *);
int verbose = va_arg (*va, int);