Skip to content

Commit 5a422a3

Browse files
committed
feat: deprecate boolean typedef in favor of bool
Ref: arduino#242 Signed-off-by: Aymane Bahssain <[email protected]>
1 parent c4718c4 commit 5a422a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ typedef void (*voidFuncPtrParam)(void*);
9696
#endif
9797

9898
/* TODO: request for removal */
99-
typedef bool boolean;
99+
typedef bool boolean __attribute__((deprecated));
100100
typedef uint8_t byte;
101101
typedef uint16_t word;
102102

0 commit comments

Comments
 (0)