[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2025-02-14 20:10:28 +00:00
parent 7d2ea7665f
commit 10104eb5aa
2 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@ typedef struct ImagingMemoryArena {
* will allocate a set of arenas and associated them with threads one at a time.
*/
#define IMAGING_ARENAS_COUNT 8
extern struct ImagingMemoryArena ImagingArenas[IMAGING_ARENAS_COUNT+1];
extern struct ImagingMemoryArena ImagingArenas[IMAGING_ARENAS_COUNT + 1];
/* Provide a macro that loops through each arena that has been
* statically-allocated. This is necessary to properly handle stats.

View File

@ -273,7 +273,7 @@ static uint64_t ImagingArenaIndex = 0;
static IMAGING_TLS uint64_t ImagingArenaThreadIndex = UINT64_MAX;
/* These are the statically-allocated arenas. */
struct ImagingMemoryArena ImagingArenas[IMAGING_ARENAS_COUNT+1] = {
struct ImagingMemoryArena ImagingArenas[IMAGING_ARENAS_COUNT + 1] = {
{1, IMAGING_ARENA_BLOCK_SIZE, 0, 0, NULL, 0, 0, 0, 0, 0, 0, {0}},
{1, IMAGING_ARENA_BLOCK_SIZE, 0, 0, NULL, 0, 0, 0, 0, 0, 1, {0}},
{1, IMAGING_ARENA_BLOCK_SIZE, 0, 0, NULL, 0, 0, 0, 0, 0, 2, {0}},