rtos: Fix constness of struct rtos_type
Change-Id: Iaa89f2ff4036c23f944ffb4f37fe0c7afaf5069b Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/6680 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
committed by
Antonio Borneo
parent
43c8aa28cb
commit
d032e7ec8c
@@ -498,7 +498,7 @@ static int mqx_get_symbol_list_to_lookup(struct symbol_table_elem *symbol_list[]
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
struct rtos_type mqx_rtos = {
|
||||
const struct rtos_type mqx_rtos = {
|
||||
.name = "mqx",
|
||||
.detect_rtos = mqx_detect_rtos,
|
||||
.create = mqx_create,
|
||||
|
||||
Reference in New Issue
Block a user