aboutsummaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2013-07-08 10:08:58 +0400
committerSpencer Oliver <spen@spen-soft.co.uk>2013-07-15 09:54:16 +0000
commit80d01ca975b3e00e9aba0089a4d0a5c7d8e3f2e0 (patch)
tree3c6ebcf6285c095011b6124245e28b49c915f543 /src/target
parent8d4938894522746b4bc6cfa09bbb1abc597251a3 (diff)
downloadriscv-openocd-80d01ca975b3e00e9aba0089a4d0a5c7d8e3f2e0.zip
riscv-openocd-80d01ca975b3e00e9aba0089a4d0a5c7d8e3f2e0.tar.gz
riscv-openocd-80d01ca975b3e00e9aba0089a4d0a5c7d8e3f2e0.tar.bz2
target: remove double const specificator
Double const is bogus and breaks the build on Clang 3.3. Change-Id: I9f9394d17f66289ac74ae6dd48f3165483b72e9e Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/1489 Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk> Tested-by: jenkins
Diffstat (limited to 'src/target')
-rw-r--r--src/target/target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/target.c b/src/target/target.c
index 4649541..a5c7b30 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -5022,7 +5022,7 @@ static int target_create(Jim_GetOptInfo *goi)
}
/* now - create the new target name command */
- const const struct command_registration target_subcommands[] = {
+ const struct command_registration target_subcommands[] = {
{
.chain = target_instance_command_handlers,
},
@@ -5031,7 +5031,7 @@ static int target_create(Jim_GetOptInfo *goi)
},
COMMAND_REGISTRATION_DONE
};
- const const struct command_registration target_commands[] = {
+ const struct command_registration target_commands[] = {
{
.name = cp,
.mode = COMMAND_ANY,