summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorYunlian Jiang <yunlian@google.com>2013-09-16 15:14:17 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-09-17 23:17:13 +0000
commitfe0b6c1acddd4ffe80d4c142e138bf8bd37d29e7 (patch)
tree6fd7a94810e3ea30115381bd488bcb7ef5afef5f /util
parenta2c962b7f6ee7a498ca09496773bb99db6afefa2 (diff)
downloadchrome-ec-fe0b6c1acddd4ffe80d4c142e138bf8bd37d29e7.tar.gz
ec: fix duplicate 'const' declarartion.
BRANCH=None BUG=chromium:292965 TEST=CC="i686-pc-linux-gnu-clang" CXX="i686-pc-linux-gnu-clang++" emerge-x86-generic chromeos-ec passes. Signed-off-by: yunlian@chromium.org Change-Id: I936f5e9b3e6ab5a5c1c2f6b6c41d054d748545e3 Reviewed-on: https://chromium-review.googlesource.com/169633 Reviewed-by: Luis Lozano <llozano@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Commit-Queue: Yunlian Jiang <yunlian@chromium.org> Tested-by: Yunlian Jiang <yunlian@chromium.org>
Diffstat (limited to 'util')
-rw-r--r--util/ectool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ectool.c b/util/ectool.c
index 9d83d67c31..168068635f 100644
--- a/util/ectool.c
+++ b/util/ectool.c
@@ -1270,7 +1270,7 @@ int cmd_fanduty(int argc, char *argv[])
#define LBMSG(state) #state
#include "lightbar_msg_list.h"
-static const char const *lightbar_cmds[] = {
+static const char * const lightbar_cmds[] = {
LIGHTBAR_MSG_LIST
};
#undef LBMSG