aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/mem.c')
-rw-r--r--src/vppinfra/mem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vppinfra/mem.c b/src/vppinfra/mem.c
index 1f8b6bfe618..99e4c1d74a0 100644
--- a/src/vppinfra/mem.c
+++ b/src/vppinfra/mem.c
@@ -19,9 +19,9 @@
#include <vppinfra/format.h>
#include <vppinfra/clib_error.h>
-clib_mem_main_t clib_mem_main;
+__clib_export clib_mem_main_t clib_mem_main;
-void *
+__clib_export void *
clib_mem_vm_map (void *base, uword size, clib_mem_page_sz_t log2_page_sz,
char *fmt, ...)
{
@@ -38,7 +38,7 @@ clib_mem_vm_map (void *base, uword size, clib_mem_page_sz_t log2_page_sz,
return rv;
}
-void *
+__clib_export void *
clib_mem_vm_map_stack (uword size, clib_mem_page_sz_t log2_page_sz,
char *fmt, ...)
{
@@ -55,7 +55,7 @@ clib_mem_vm_map_stack (uword size, clib_mem_page_sz_t log2_page_sz,
return rv;
}
-void *
+__clib_export void *
clib_mem_vm_map_shared (void *base, uword size, int fd, uword offset,
char *fmt, ...)
{