diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-11-16 12:25:09 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-12-18 15:37:20 -0500 |
commit | 5b38f658ee42bef05cecb6cadec65b25d9e94993 (patch) | |
tree | 7ee304714729b360a3d45658ca27358e03cd54e3 /src/alloc.c | |
parent | fd91097055f095fdd827ef8751d9534f59a89404 (diff) | |
download | bfs-5b38f658ee42bef05cecb6cadec65b25d9e94993.tar.xz |
config: New variadic attr(...) macro
Diffstat (limited to 'src/alloc.c')
-rw-r--r-- | src/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index 467f0f0..b65d0c5 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -176,7 +176,7 @@ void arena_init(struct arena *arena, size_t align, size_t size) { } /** Allocate a new slab. */ -attr_cold +attr(cold) static int slab_alloc(struct arena *arena) { // Make the initial allocation size ~4K size_t size = 4096; |