aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-10-18 06:54:31 -0400
committerDave Barach <dave@barachs.net>2020-10-18 07:17:18 -0400
commit07619240c295b6f068609d5603dba8601dbd72a0 (patch)
tree2bd56ca3a1cd66a2f73f5820e71ddaa75f597277
parent6acb7a03cbbb28689b10c3966fb8f91871585aa8 (diff)
vppinfra: add export symbols
format_one_elog_event() vec_len_not_inline() vec_free_not_inline() Type: fix Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I0432c1b41b985de380e0b73886d0b03ecc19c703
-rw-r--r--src/vppinfra/elog.c2
-rw-r--r--src/vppinfra/vec.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/vppinfra/elog.c b/src/vppinfra/elog.c
index a12e8556697..56e0cf03d7f 100644
--- a/src/vppinfra/elog.c
+++ b/src/vppinfra/elog.c
@@ -427,7 +427,7 @@ format_elog_track (u8 * s, va_list * args)
return s;
}
-char *
+__clib_export char *
format_one_elog_event (void *em_arg, void *ep_arg)
{
elog_main_t *em = (elog_main_t *) em_arg;
diff --git a/src/vppinfra/vec.c b/src/vppinfra/vec.c
index f3cdb14b6fc..34fa2fa13b6 100644
--- a/src/vppinfra/vec.c
+++ b/src/vppinfra/vec.c
@@ -140,13 +140,13 @@ 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);