aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-04-08 12:06:03 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-04-08 12:06:03 +0200
commit65955d6c48319124c12c7901fb0c0cf8a466a1a1 (patch)
treee1b61f06a03156b94bb4538bf2273e22d67994c3 /include
parenta3739ada111bf4e36ae7576b24176d1db55e1365 (diff)
Fix: libsquashfs: visibillity of mempool functions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r--include/mempool.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/mempool.h b/include/mempool.h
index 6d3990e..c946c31 100644
--- a/include/mempool.h
+++ b/include/mempool.h
@@ -8,6 +8,7 @@
#define MEMPOOL_H
#include "compat.h"
+#include "sqfs/predef.h"
typedef struct mem_pool_t mem_pool_t;
@@ -15,13 +16,13 @@ typedef struct mem_pool_t mem_pool_t;
extern "C" {
#endif
-mem_pool_t *mem_pool_create(size_t obj_size);
+SQFS_INTERNAL mem_pool_t *mem_pool_create(size_t obj_size);
-void mem_pool_destroy(mem_pool_t *mem);
+SQFS_INTERNAL void mem_pool_destroy(mem_pool_t *mem);
-void *mem_pool_allocate(mem_pool_t *mem);
+SQFS_INTERNAL void *mem_pool_allocate(mem_pool_t *mem);
-void mem_pool_free(mem_pool_t *mem, void *ptr);
+SQFS_INTERNAL void mem_pool_free(mem_pool_t *mem, void *ptr);
#ifdef __cplusplus
}