inclue: sbi_utils: Cleanup int vs bool in semihosting_init() definitions

This is needed for a future patches to enable the new C23 language dialect.

Signed-off-by: Michael Neuling <michaelneuling@tenstorrent.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Michael Neuling
2024-12-13 04:14:20 +00:00
committed by Anup Patel
parent 8d8cc9507b
commit 91196d76b7

View File

@@ -38,10 +38,10 @@ enum semihosting_open_mode {
#ifdef CONFIG_SERIAL_SEMIHOSTING
int semihosting_init(void);
int semihosting_enabled(void);
bool semihosting_enabled(void);
#else
static inline int semihosting_init(void) { return SBI_ENODEV; }
static inline int semihosting_enabled(void) { return 0; }
static inline bool semihosting_enabled(void) { return false; }
#endif
#endif