From: Paul Fertser Date: Mon, 8 Jul 2013 06:08:58 +0000 (+0400) Subject: target: remove double const specificator X-Git-Tag: v0.8.0-rc1~372 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=80d01ca975b3e00e9aba0089a4d0a5c7d8e3f2e0 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 Reviewed-on: http://openocd.zylin.com/1489 Reviewed-by: Laszlo Papp Reviewed-by: Spencer Oliver Tested-by: jenkins --- diff --git a/src/target/target.c b/src/target/target.c index 464954141e..a5c7b30a3a 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,