vppinfra: explicitly export symbols
Type: improvement
Change-Id: I57a9f85f7df1fc48656b72592349f4c544302f77
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/vppinfra/backtrace.c b/src/vppinfra/backtrace.c
index ca7591c..e713bae 100644
--- a/src/vppinfra/backtrace.c
+++ b/src/vppinfra/backtrace.c
@@ -45,7 +45,7 @@
#include <vppinfra/asm_mips.h>
-uword
+__clib_export uword
clib_backtrace (uword * callers, uword max_callers, uword n_frames_to_skip)
{
u32 *pc;
@@ -222,7 +222,7 @@
/* use glibc backtrace for stack trace */
#include <execinfo.h>
-uword
+__clib_export uword
clib_backtrace (uword * callers, uword max_callers, uword n_frames_to_skip)
{
int size;