From 75e9291da39370688ce5be5bf6800f34420f2e7a Mon Sep 17 00:00:00 2001 From: Max Wash Date: Sat, 25 Oct 2025 19:36:25 +0100 Subject: [PATCH] core: error: update header include guard --- core/include/blue/core/error.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/core/include/blue/core/error.h b/core/include/blue/core/error.h index a3c32ce..42b3fbc 100644 --- a/core/include/blue/core/error.h +++ b/core/include/blue/core/error.h @@ -1,5 +1,5 @@ -#ifndef BLUELIB_CORE_ERROR_H_ -#define BLUELIB_CORE_ERROR_H_ +#ifndef BLUE_CORE_ERROR_H_ +#define BLUE_CORE_ERROR_H_ #include #include @@ -210,19 +210,23 @@ #define B_ERR_MSG(s) \ { \ - .msg_type = B_ERROR_MESSAGE_ERROR, .msg_content = (s), \ + .msg_type = B_ERROR_MESSAGE_ERROR, \ + .msg_content = (s), \ } #define B_ERR_MSG_WARN(s) \ { \ - .msg_type = B_ERROR_MESSAGE_WARN, .msg_content = (s), \ + .msg_type = B_ERROR_MESSAGE_WARN, \ + .msg_content = (s), \ } #define B_ERR_MSG_INFO(s) \ { \ - .msg_type = B_ERROR_MESSAGE_INFO, .msg_content = (s), \ + .msg_type = B_ERROR_MESSAGE_INFO, \ + .msg_content = (s), \ } #define B_ERR_MSG_END(s) \ { \ - .msg_type = B_ERROR_MESSAGE_NONE, .msg_content = NULL, \ + .msg_type = B_ERROR_MESSAGE_NONE, \ + .msg_content = NULL, \ } typedef enum b_error_submsg_type {