diff options
author | Manoj Gupta <manojgupta@google.com> | 2022-02-28 11:47:06 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2022-02-28 20:27:52 +0000 |
commit | 8d39e763aca72c79049009865fe164f59b6c6035 (patch) | |
tree | 89e25f3d9d509134c56925218400e73b2e911dc9 /common/extension.c | |
parent | aa7815dcfe09549c2b680e7ed604040b932c11e6 (diff) | |
download | chrome-ec-8d39e763aca72c79049009865fe164f59b6c6035.tar.gz |
fuzz: Stop mixing decl + initialization
Initialization with dec is supported only in C99 mode which
EC code is apparently not.
Fixes error with newer clang:
'mixing declarations and code is incompatible with standards before C99'
BUG=b:221860687
TEST=emerge chromeos-ec
Change-Id: I74c3e3aaf071ac86ad9e7b1276043efe32f1ff1b
Signed-off-by: Manoj Gupta <manojgupta@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3495869
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Auto-Submit: Manoj Gupta <manojgupta@chromium.org>
Diffstat (limited to 'common/extension.c')
0 files changed, 0 insertions, 0 deletions