diff options
author | Werner Zeh <werner.zeh@siemens.com> | 2018-11-21 13:07:50 +0100 |
---|---|---|
committer | Werner Zeh <werner.zeh@siemens.com> | 2018-11-23 05:08:30 +0000 |
commit | bbf1df76a6eddbb91a425be9afda1cbf8a903a8d (patch) | |
tree | aebd29fe2fe042939fc5e9edd7e4f7f08e41b3ec /util/kconfig/Makefile | |
parent | deed1e3c630ba0a87691e5d0539e51a1b42534b5 (diff) |
util/cbfstool: Fix GCC error due to a shadowed declaration
There is already a function with the name buffer_size(). Adding a local
variable with the same name will lead to the following error on older
GCC versions (e.g. version 4.4.7):
declaration of 'buffer_size' shadows a global declaration
To fix this rename the local variable to buffer_len.
Change-Id: Ifae3a17152f2f9852d29a4ac038f7e5a75a41614
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/c/29776
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Joel Kitching <kitching@google.com>
Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Diffstat (limited to 'util/kconfig/Makefile')
0 files changed, 0 insertions, 0 deletions