From fe0b6c1acddd4ffe80d4c142e138bf8bd37d29e7 Mon Sep 17 00:00:00 2001 From: Yunlian Jiang Date: Mon, 16 Sep 2013 15:14:17 -0700 Subject: [PATCH] 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 Reviewed-by: Randall Spangler Commit-Queue: Yunlian Jiang Tested-by: Yunlian Jiang --- util/ectool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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