diff options
author | Nico Huber <nico.h@gmx.de> | 2021-05-14 01:13:33 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2021-06-26 16:00:19 +0000 |
commit | d0fa8c0408cbc785de2aadbf57b30d941087831a (patch) | |
tree | ecc792b8e0aa413cffe05e8d1436eff3f014d2cd /Makefile | |
parent | 7dd1624a7dcbe8e7600de78d1d0c09274bbd30ae (diff) | |
download | flashrom-d0fa8c0408cbc785de2aadbf57b30d941087831a.tar.gz flashrom-d0fa8c0408cbc785de2aadbf57b30d941087831a.tar.bz2 flashrom-d0fa8c0408cbc785de2aadbf57b30d941087831a.zip |
layout: Tidy up forward declarations
* Parameter names like `flashctx` for a `struct flashrom_flashctx`
don't add any value.
* `const` qualification of parameters is meaningless in forward
declarations. Arguments are always passed by copy and an API
user does not need to know what callees do with their copy.
Change-Id: Iadcc1670ff86578a400dec9e804d6dda93e0fcf0
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/54288
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions