[coreboot-gerrit] Patch merged into coreboot/master: ifwitool: Fix gcc error due to shadowed global declaration
gerrit at coreboot.org
gerrit at coreboot.org
Sun Jun 26 10:49:19 CEST 2016
the following patch was just integrated into master:
commit 310580ea134dc7c24cf423aab7419698280e4b4e
Author: Werner Zeh <werner.zeh at siemens.com>
Date: Fri Jun 24 13:03:38 2016 +0200
ifwitool: Fix gcc error due to shadowed global declaration
The name 'bpdt_size' is used for a function as well as ia local variable.
As ifwitool is compiled using HOSTCC, there can be an older gcc version
used for the compilation. With gcc version 4.4.7 I get the following
error: declaration of 'bpdt_size' shadows a global declaration
To fix it, rename the function to get_bpdt_size so that names are
unique now.
Change-Id: I47791c705ac4ab28307c52b86940a7a14a5cfef8
Signed-off-by: Werner Zeh <werner.zeh at siemens.com>
Reviewed-on: https://review.coreboot.org/15343
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
Reviewed-by: Furquan Shaikh <furquan at google.com>
See https://review.coreboot.org/15343 for details.
-gerrit
More information about the coreboot-gerrit
mailing list