File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 14
14
15
15
#include <kernel.h>
16
16
17
+ #include <stdbool.h>
18
+
17
19
#ifdef __cplusplus
18
20
extern "C" {
19
21
#endif
@@ -60,12 +62,12 @@ s32_t z_timeout_remaining(struct _timeout *timeout);
60
62
#else
61
63
62
64
/* Stubs when !CONFIG_SYS_CLOCK_EXISTS */
63
- #define _init_thread_timeout (t ) do {} while (0 )
64
- #define _add_thread_timeout (th , to ) do {} while (0 && (void *)to && (void *)th)
65
+ #define _init_thread_timeout (t ) do {} while (false )
66
+ #define _add_thread_timeout (th , to ) do {} while (false && (void *)to && (void *)th)
65
67
#define _abort_thread_timeout (t ) (0)
66
68
#define _is_inactive_timeout (t ) 0
67
69
#define _get_next_timeout_expiry () (K_FOREVER)
68
- #define z_set_timeout_expiry (t , i ) do {} while (0 )
70
+ #define z_set_timeout_expiry (t , i ) do {} while (false )
69
71
70
72
#endif
71
73
You can’t perform that action at this time.
0 commit comments