From 910ab64da9baf3eead883b39825318855d724dc2 Mon Sep 17 00:00:00 2001
From: Frederic Pillon <frederic.pillon@st.com>
Date: Mon, 23 Dec 2024 15:55:14 +0100
Subject: [PATCH] chore: set boolean as deprecated

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
---
 api/Common.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/api/Common.h b/api/Common.h
index 9b28f40a..b05e9680 100644
--- a/api/Common.h
+++ b/api/Common.h
@@ -93,7 +93,7 @@ typedef void (*voidFuncPtrParam)(void*);
 #endif
 
 /* TODO: request for removal */
-typedef bool      boolean;
+typedef bool      boolean __attribute__((deprecated));
 typedef uint8_t   byte;
 typedef uint16_t  word;
 
@@ -141,13 +141,13 @@ void loop(void);
 #endif
 
 #ifdef __cplusplus
-  template<class T, class L> 
+  template<class T, class L>
   auto min(const T& a, const L& b) -> decltype((b < a) ? b : a)
   {
     return (b < a) ? b : a;
   }
 
-  template<class T, class L> 
+  template<class T, class L>
   auto max(const T& a, const L& b) -> decltype((b < a) ? b : a)
   {
     return (a < b) ? b : a;