summaryrefslogtreecommitdiff
path: root/src/target/register.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/register.h')
-rw-r--r--src/target/register.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/register.h b/src/target/register.h
index 0cd0ddfe..4b45fd3c 100644
--- a/src/target/register.h
+++ b/src/target/register.h
@@ -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;