Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/69308 )
Change subject: mb/intel/harcuvar: Fix strict prototype warning ......................................................................
mb/intel/harcuvar: Fix strict prototype warning
Clang warns on both the declaration and the definction.
Change-Id: I94d979fcdbe41349c59248656066615bffd215b6 Signed-off-by: Arthur Heymans arthur@aheymans.xyz Reviewed-on: https://review.coreboot.org/c/coreboot/+/69308 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Felix Held felix-coreboot@felixheld.de --- M src/mainboard/intel/harcuvar/spd/spd.c 1 file changed, 16 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Felix Held: Looks good to me, approved
diff --git a/src/mainboard/intel/harcuvar/spd/spd.c b/src/mainboard/intel/harcuvar/spd/spd.c index a66c10b..e3912ec 100644 --- a/src/mainboard/intel/harcuvar/spd/spd.c +++ b/src/mainboard/intel/harcuvar/spd/spd.c @@ -6,7 +6,7 @@ #include "spd.h"
/* Get SPD data for on-board memory */ -uint8_t *mainboard_find_spd_data() +uint8_t *mainboard_find_spd_data(void) { uint8_t *spd_data; int spd_index;