diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 15:26:21 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-29 10:14:03 +0000 |
commit | e79482d092c712347f0257433d1d5a6f3750dc2c (patch) | |
tree | ff75acc63febeebab91c4a6c9f56cd93a26aee7c /util/export_taskinfo.c | |
parent | 1d2c37c0c872c5a286ccddb5ca5ba3b9a4b928a6 (diff) | |
download | chrome-ec-e79482d092c712347f0257433d1d5a6f3750dc2c.tar.gz |
util/export_taskinfo.c: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: Ia69e2149f028191a1dd81058d57eb4c022cb99b2
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730621
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'util/export_taskinfo.c')
-rw-r--r-- | util/export_taskinfo.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/util/export_taskinfo.c b/util/export_taskinfo.c index 4c09bafb90..0e2dac7837 100644 --- a/util/export_taskinfo.c +++ b/util/export_taskinfo.c @@ -25,14 +25,13 @@ struct taskinfo { uint32_t stack_size; }; -#define TASK(n, r, d, s, ...) { \ - .name = #n, \ - .routine = #r, \ - .stack_size = s, \ -}, -static const struct taskinfo taskinfos[] = { - CONFIG_TASK_LIST -}; +#define TASK(n, r, d, s, ...) \ + { \ + .name = #n, \ + .routine = #r, \ + .stack_size = s, \ + }, +static const struct taskinfo taskinfos[] = { CONFIG_TASK_LIST }; #undef TASK uint32_t GET_TASKINFOS_FUNC(const struct taskinfo **infos) |