forked from auracaster/openocd
warnings: use more 'const' for char *
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
@@ -27,7 +27,7 @@ struct target;
|
||||
|
||||
struct reg
|
||||
{
|
||||
char *name;
|
||||
const char *name;
|
||||
void *value;
|
||||
bool dirty;
|
||||
bool valid;
|
||||
@@ -38,7 +38,7 @@ struct reg
|
||||
|
||||
struct reg_cache
|
||||
{
|
||||
char *name;
|
||||
const char *name;
|
||||
struct reg_cache *next;
|
||||
struct reg *reg_list;
|
||||
unsigned num_regs;
|
||||
|
||||
Reference in New Issue
Block a user