diff options
author | Edward O'Callaghan <quasisec@google.com> | 2022-09-05 11:13:56 +1000 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2022-12-02 11:06:04 +0000 |
commit | eda27e4d1b23ac602b76c3f99b02a791953e9eed (patch) | |
tree | f2eaafaed11a774ad18624fa8b35780861f2b7e5 /COPYING | |
parent | 748575abb2dbd93a7f4c87ca10887b9d72ac6a37 (diff) | |
download | flashrom-eda27e4d1b23ac602b76c3f99b02a791953e9eed.tar.gz flashrom-eda27e4d1b23ac602b76c3f99b02a791953e9eed.tar.bz2 flashrom-eda27e4d1b23ac602b76c3f99b02a791953e9eed.zip |
cli_classic.c: Make count_max_decode_exceedings() pure
Pass by argument the max_rom_decode structure such that the
function is pure and defined upon its parameters.
Note, unfortunately a itermediate step of a '_' suffix is
required for the 'max_rom_decode' parameter as to not alias
the global symbol within the function body.
Change-Id: Ia01f77993deab68e251850008e885828e55b9462
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/68479
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions