From 4a251d0a9c6a6a5981b6bc6500994fa9b8f1c43c Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Thu, 6 May 2021 17:28:12 +0200 Subject: vppinfra: fix tests Type: fix Change-Id: If59a66aae658dd35dbcb4987ab00c306b3c6e2e2 Signed-off-by: Damjan Marion --- src/vppinfra/heap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/vppinfra/heap.c') 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); -- cgit 1.2.3-korg