From 753d3ea9d3b96db3d60448b2d31c0b2ade47055f Mon Sep 17 00:00:00 2001 From: Max Wash Date: Fri, 22 Nov 2024 22:29:05 +0000 Subject: [PATCH] core: add enum name to b_status --- core/include/blue/core/status.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/include/blue/core/status.h b/core/include/blue/core/status.h index f2ef040..9fd2b87 100644 --- a/core/include/blue/core/status.h +++ b/core/include/blue/core/status.h @@ -3,10 +3,10 @@ #include -#define B_OK(status) ((status) == B_SUCCESS) +#define B_OK(status) ((status) == B_SUCCESS) #define B_ERR(status) ((status) != B_SUCCESS) -typedef enum { +typedef enum b_status { B_SUCCESS = 0x00u, B_ERR_NO_MEMORY, B_ERR_OUT_OF_BOUNDS,