X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Frtos%2Frtos.h;h=7750f3c7fa8ee4c8227bff53b1b146e839002560;hb=0d50dfe31840ddd282aa2ca7507c45f607284fc6;hp=a81f67e216bd4d3deacd1f8126cca8c0ce31128c;hpb=9b2577742cc49683ab0ea8506d93e3e285b53bbd;p=openocd.git diff --git a/src/rtos/rtos.h b/src/rtos/rtos.h index a81f67e216..7750f3c7fa 100644 --- a/src/rtos/rtos.h +++ b/src/rtos/rtos.h @@ -33,9 +33,9 @@ struct reg; * Table should be terminated by an element with NULL in symbol_name */ typedef struct symbol_table_elem_struct { - char *symbol_name; + const char *symbol_name; symbol_address_t address; - + bool optional; } symbol_table_elem_t; struct thread_detail { @@ -61,7 +61,7 @@ struct rtos { }; struct rtos_type { - char *name; + const char *name; int (*detect_rtos)(struct target *target); int (*create)(struct target *target); int (*smp_init)(struct target *target);