diff options
author | Martin Roth <martinroth@google.com> | 2017-09-23 17:18:30 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-11-20 15:08:44 -0800 |
commit | b38792b78b35feed9f6a1ff9634e56d7f6a28ecf (patch) | |
tree | 6cccc5f85a4263b935724d554903dddac9d468bf /util | |
parent | d90300b6e57a8908f304c28a79991ad6ed35e9da (diff) | |
download | chrome-ec-b38792b78b35feed9f6a1ff9634e56d7f6a28ecf.tar.gz |
util: Remove duplicate 'const' in export_taskinfo.c
This is causing an error in the latest coreboot toolchain:
util/export_taskinfo.c:33:30: error: duplicate 'const' declaration
specifier [-Werror=duplicate-decl-specifier]
BUG=None
TEST=Build now passes with latest coreboot toolchain and cros
Ztoolchain
BRANCH=None
Change-Id: I069d08128e264310d25a09ada2276f92796294b7
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://chromium-review.googlesource.com/679939
Commit-Ready: Martin Roth <martinroth@chromium.org>
Tested-by: Martin Roth <martinroth@chromium.org>
Reviewed-by: Stefan Reinauer <reinauer@google.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/export_taskinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/export_taskinfo.c b/util/export_taskinfo.c index b6b9bea7b8..19109f131e 100644 --- a/util/export_taskinfo.c +++ b/util/export_taskinfo.c @@ -30,7 +30,7 @@ struct taskinfo { .routine = #r, \ .stack_size = s, \ }, -static const struct taskinfo const taskinfos[] = { +static const struct taskinfo taskinfos[] = { CONFIG_TASK_LIST }; #undef TASK |