summaryrefslogtreecommitdiff
path: root/util/lbcc.c
diff options
context:
space:
mode:
authorYunlian Jiang <yunlian@google.com>2015-04-17 10:29:56 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-04-18 00:13:20 +0000
commit908c93bf00f87829db0dec33f2236686caf4e5b3 (patch)
tree7c633a30b89c7247fdbfce16bb3726115a86b070 /util/lbcc.c
parent70be5168154e555ae044884747b8c4c7dfba3fc8 (diff)
downloadchrome-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/lbcc.c')
-rw-r--r--util/lbcc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/lbcc.c b/util/lbcc.c
index b34b21e53e..d35e05701a 100644
--- a/util/lbcc.c
+++ b/util/lbcc.c
@@ -81,15 +81,15 @@ static const int num_operands[] = {
#define OP(NAME, BYTES, MNEMONIC) MNEMONIC,
#include "lightbar_opcode_list.h"
-static const char const *opcode_sym[] = {
+static const char * const opcode_sym[] = {
LIGHTBAR_OPCODE_TABLE
};
#undef OP
-static const char const *control_sym[] = {
+static const char * const control_sym[] = {
"beg", "end", "phase", "<invalid>"
};
-static const char const *color_sym[] = {
+static const char * const color_sym[] = {
"r", "g", "b", "<invalid>"
};