From 8f2e0f0202317cc27371d2833eb93b64230ac0e8 Mon Sep 17 00:00:00 2001 From: Mel Date: Fri, 4 Jul 2025 03:27:27 +0200 Subject: Test suite runner prototype for `catboot` Signed-off-by: Mel --- boot/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'boot/common.c') diff --git a/boot/common.c b/boot/common.c index cf9aa46..a072f60 100644 --- a/boot/common.c +++ b/boot/common.c @@ -10,8 +10,6 @@ #pragma once -#include "catboot.h" - #include #include #include @@ -102,6 +100,8 @@ check(bool condition, const ascii* message) // for each entry in a linked list. #define FOR_EACH(type, cursor, head) for (type cursor = head; cursor != nil; cursor = cursor->next) +#define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) + // the common size of region memory blocks. #define REGION_SIZE 65536 -- cgit 1.4.1