diff options
author | Yunlian Jiang <yunlian@google.com> | 2015-04-17 10:29:56 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-04-18 00:13:20 +0000 |
commit | 908c93bf00f87829db0dec33f2236686caf4e5b3 (patch) | |
tree | 7c633a30b89c7247fdbfce16bb3726115a86b070 /util/ectool.c | |
parent | 70be5168154e555ae044884747b8c4c7dfba3fc8 (diff) | |
download | chrome-ec-908c93bf00f87829db0dec33f2236686caf4e5b3.tar.gz |
ec: fix duplicate 'const' warning for clang..
It fixes duplicate 'const' warning.
BUG=chromium:475960
TEST=the warning is gone.
BRANCH=none
Signed-off-by: yunlian@chromium.org
Change-Id: I348fbefec4d681bb8b20c6b8cf84acec4561b391
Reviewed-on: https://chromium-review.googlesource.com/266109
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Commit-Queue: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Diffstat (limited to 'util/ectool.c')
-rw-r--r-- | util/ectool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ectool.c b/util/ectool.c index b173d7ad19..92b663e534 100644 --- a/util/ectool.c +++ b/util/ectool.c @@ -5663,7 +5663,7 @@ static int cmd_tmp006cal_v1(int idx, int argc, char *argv[]) int i, rv, cmdsize; /* Algorithm 1 parameter names */ - static const char const *alg1_pname[] = { + static const char * const alg1_pname[] = { "s0", "a1", "a2", "b0", "b1", "b2", "c2", "d0", "d1", "ds", "e0", "e1", }; |