From 08fa864605a3d4d38e4ff4c44f21a72a4ada90c3 Mon Sep 17 00:00:00 2001 From: Daan Date: Mon, 3 Jun 2024 21:30:02 -0700 Subject: [PATCH] rename arena-abandoned to arena-abandon --- src/{arena-abandoned.c => arena-abandon.c} | 2 -- src/arena.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) rename src/{arena-abandoned.c => arena-abandon.c} (99%) diff --git a/src/arena-abandoned.c b/src/arena-abandon.c similarity index 99% rename from src/arena-abandoned.c rename to src/arena-abandon.c index 465a074d..eaa8c7c9 100644 --- a/src/arena-abandoned.c +++ b/src/arena-abandon.c @@ -13,8 +13,6 @@ terms of the MIT license. A copy of the license can be found in the file #include "bitmap.h" #endif -typedef struct mi_arena_s mi_arena_t; - // Minimal exports for arena-abandoned. size_t mi_arena_id_index(mi_arena_id_t id); mi_arena_t* mi_arena_from_index(size_t idx); diff --git a/src/arena.c b/src/arena.c index 0bd58aaa..3bb8f502 100644 --- a/src/arena.c +++ b/src/arena.c @@ -62,7 +62,7 @@ static mi_decl_cache_align _Atomic(mi_arena_t*) mi_arenas[MI_MAX_ARENAS]; static mi_decl_cache_align _Atomic(size_t) mi_arena_count; // = 0 #define MI_IN_ARENA_C -#include "arena-abandoned.c" +#include "arena-abandon.c" #undef MI_IN_ARENA_C /* -----------------------------------------------------------