rtos: Use 'bool' as return type for detect_rtos()
Change-Id: I91ad0431d44ed94f48d20c4690f8642d66f52a9b Signed-off-by: Marc Schink <openocd-dev@marcschink.de> Reviewed-on: http://openocd.zylin.com/4274 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
This commit is contained in:
committed by
Spencer Oliver
parent
7e64451097
commit
dba9293a89
@@ -309,10 +309,10 @@ static int linux_os_thread_reg_list(struct rtos *rtos,
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
static int linux_os_detect(struct target *target)
|
||||
static bool linux_os_detect(struct target *target)
|
||||
{
|
||||
LOG_INFO("should no be called");
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
static int linux_os_smp_init(struct target *target);
|
||||
|
||||
Reference in New Issue
Block a user