summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/shm_du_map.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/ouroboros/shm_du_map.h b/include/ouroboros/shm_du_map.h
index 948a6727..bfccf60a 100644
--- a/include/ouroboros/shm_du_map.h
+++ b/include/ouroboros/shm_du_map.h
@@ -39,7 +39,7 @@
#endif
#ifndef SHM_DU_MAP_SIZE
-#define SHM_DU_MAP_SIZE (1 << 22)
+#define SHM_DU_MAP_SIZE (1 << 26)
#endif
#include "common.h"
@@ -58,8 +58,7 @@ struct shm_du_buff * shm_create_du_buff(struct shm_du_map * dum,
size_t headspace,
uint8_t * data,
size_t len);
-void shm_release_du_buff(struct shm_du_map * dum,
- struct shm_du_buff * sdb);
+int shm_release_du_buff(struct shm_du_map * dum);
uint8_t * shm_du_buff_head_alloc(struct shm_du_map * dum,
struct shm_du_buff * sdb,