aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-03 18:51:02 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-10-03 18:51:02 +0200
commit2815045efa2ee9693b99fdaed189efdad704d033 (patch)
tree15d5c24af5834074ad5be1538e6d31b7454e6b32
parentacd217aa4241a973fcc5605f31a364af66049f32 (diff)
Use uint8_t instead of char8_t pointers in arena blocks
-rw-r--r--lib/alloc/arena_alloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/alloc/arena_alloc.c b/lib/alloc/arena_alloc.c
index 965c6a7..832f5b0 100644
--- a/lib/alloc/arena_alloc.c
+++ b/lib/alloc/arena_alloc.c
@@ -11,7 +11,6 @@
#include <unistd.h>
#include "_attrs.h"
-#include "_charN_t.h"
#include "alloc.h"
#include "error.h"
#include "macros.h"
@@ -19,7 +18,7 @@
#define PAD(len, align) (((len) + (align) - 1) & ~((align) - 1))
struct arena_blk {
- char8_t *head, *tail, *fngr;
+ uint8_t *head, *tail, *fngr;
struct arena_blk *next;
};