X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Ftarget.h;h=53f9e26147c0494e43b2937230dd087fbd996d6c;hp=76630b973fe0d20de05cb352f792851121e09807;hb=518fcd38834ef2f7b19707ccaa52914c2bea9f91;hpb=df32af234cae1f24b0a0f3abf4b50859f9d26740 diff --git a/src/target/target.h b/src/target/target.h index 76630b973f..53f9e26147 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -125,7 +125,7 @@ enum target_register_class { /* target_type.h contains the full definition of struct target_type */ struct target { struct target_type *type; /* target type definition (name, access functions) */ - const char *cmd_name; /* tcl Name of target */ + char *cmd_name; /* tcl Name of target */ int target_number; /* DO NOT USE! field to be removed in 2010 */ struct jtag_tap *tap; /* where on the jtag chain is this */ int32_t coreid; /* which device on the TAP? */