From 10104eb5aaaa7e34b32cda70689d37e5a57b198c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 14 Feb 2025 20:10:28 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/libImaging/Imaging.h | 2 +- src/libImaging/Storage.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libImaging/Imaging.h b/src/libImaging/Imaging.h index 9fa79f467..75a2fa0a3 100644 --- a/src/libImaging/Imaging.h +++ b/src/libImaging/Imaging.h @@ -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. diff --git a/src/libImaging/Storage.c b/src/libImaging/Storage.c index 40b48257c..6f3445171 100644 --- a/src/libImaging/Storage.c +++ b/src/libImaging/Storage.c @@ -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}},