summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/heap.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-05-06 17:28:12 +0200
committerFlorin Coras <florin.coras@gmail.com>2021-05-06 16:29:00 +0000
commit4a251d0a9c6a6a5981b6bc6500994fa9b8f1c43c (patch)
tree71c103981c8d1528e7d410cb84380bf0f2f18e72 /src/vppinfra/heap.c
parent2c4acdd8d47a14867d9658debc674323efc78323 (diff)
vppinfra: fix tests
Type: fix Change-Id: If59a66aae658dd35dbcb4987ab00c306b3c6e2e2 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/heap.c')
-rw-r--r--src/vppinfra/heap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vppinfra/heap.c b/src/vppinfra/heap.c
index b81e1e1339e..bc22da1d8f6 100644
--- a/src/vppinfra/heap.c
+++ b/src/vppinfra/heap.c
@@ -597,7 +597,7 @@ combine_free_blocks (void *v, heap_elt_t * e0, heap_elt_t * e1)
set_free_elt (v, elt_at (h, g.index), g.bin_index);
}
-uword
+__clib_export uword
heap_len (void *v, word handle)
{
heap_header_t *h = heap_header (v);
@@ -694,8 +694,8 @@ debug_elt (u8 * s, void *v, word i, word n)
return s;
}
-u8 *
-format_heap (u8 * s, va_list * va)
+__clib_export u8 *
+format_heap (u8 *s, va_list *va)
{
void *v = va_arg (*va, void *);
uword verbose = va_arg (*va, uword);
@@ -722,7 +722,7 @@ format_heap (u8 * s, va_list * va)
return s;
}
-void
+__clib_export void
heap_validate (void *v)
{
heap_header_t *h = heap_header (v);