From ad460cc15b008a5da8459b8d78a200d5cecab37d Mon Sep 17 00:00:00 2001 From: damien DELPY Date: Fri, 21 Mar 2025 15:18:39 +0100 Subject: [PATCH] fix(clang): format utils files. --- src/utils/ansi_colors.h | 2 +- src/utils/debug.h | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) mode change 100755 => 100644 src/utils/ansi_colors.h mode change 100755 => 100644 src/utils/debug.h diff --git a/src/utils/ansi_colors.h b/src/utils/ansi_colors.h old mode 100755 new mode 100644 index d722fca..2d02bd2 --- a/src/utils/ansi_colors.h +++ b/src/utils/ansi_colors.h @@ -10,7 +10,7 @@ * * For more information, please refer to */ -#if NCOLOR // if we are in no color mode, replace all the define by "" +#if NCOLOR // if we are in no color mode, replace all the define by "" // Regular text #define BLK "" diff --git a/src/utils/debug.h b/src/utils/debug.h old mode 100755 new mode 100644 index ea0704e..a0912bd --- a/src/utils/debug.h +++ b/src/utils/debug.h @@ -18,21 +18,21 @@ * DEBUG Macro */ #define DBG(str, ...) \ - fprintf(stderr, "\033[31mDEBUG:\033[0m " str "\n", ##__VA_ARGS__) + fprintf(stderr, "\033[31mDEBUG:\033[0m " str "\n", ##__VA_ARGS__) -#endif // DEBUG +#endif // DEBUG #ifndef NTRACE /* * TRACE Macro */ -#define TRACE(str, ...) \ - fprintf(stderr, "\033[32mTRACE: %s: \033[0m " str "\n", __FILE__, \ - ##__VA_ARGS__) +#define TRACE(str, ...) \ + fprintf(stderr, "\033[32mTRACE: %s: \033[0m " str "\n", __FILE__, \ + ##__VA_ARGS__) #else #define TRACE(str, ...) -#endif // NTRACE +#endif // NTRACE // -#endif // !__DEBUG_H__ +#endif // !__DEBUG_H__