summaryrefslogtreecommitdiff
path: root/src/target/etm.h
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-12-29 22:07:21 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-12-29 22:07:39 +0100
commit4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7 (patch)
tree5143ec75e22a2f648a9375632948ce09a16ee642 /src/target/etm.h
parent8f93c0a3fe29313945a63b3f2154baef70acd796 (diff)
downloadopenocd+libswd-4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7.tar.gz
openocd+libswd-4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7.tar.bz2
openocd+libswd-4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7.tar.xz
openocd+libswd-4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7.zip
warnings: use more 'const' for char *
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/etm.h')
-rw-r--r--src/target/etm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/etm.h b/src/target/etm.h
index 8a482c1e..4224de67 100644
--- a/src/target/etm.h
+++ b/src/target/etm.h
@@ -139,7 +139,7 @@ struct etm_context;
struct etm_capture_driver
{
- char *name;
+ const char *name;
const struct command_registration *commands;
int (*init)(struct etm_context *etm_ctx);
trace_status_t (*status)(struct etm_context *etm_ctx);