From c01be946a3434433a28265eaea06c60e5938e7b1 Mon Sep 17 00:00:00 2001 From: Ethan Date: Sat, 30 Oct 2021 19:38:24 -0400 Subject: [PATCH] Fix anonymous non-C struct bug --- include/x86_64/libk++/bitmap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/x86_64/libk++/bitmap.h b/include/x86_64/libk++/bitmap.h index 9a60100..091be45 100644 --- a/include/x86_64/libk++/bitmap.h +++ b/include/x86_64/libk++/bitmap.h @@ -6,7 +6,7 @@ #define BMP_BLOCK_SIZE 8 namespace firefly::libkern { -typedef struct +typedef struct _bitmap_t { uint32_t* pool; } bitmap_t; @@ -14,7 +14,7 @@ typedef struct constexpr int BIT_SET = 1; constexpr int BIT_CLEAR = 0; -typedef struct +typedef struct _bitmap_res_t { bool success; int64_t bit_offset; // Only used by get() & find_first()