From: Michael Brown Date: Wed, 22 Jun 2016 11:04:50 +0000 (+0100) Subject: [thunderx] Fix compilation with older versions of gcc X-Git-Tag: v1.20.1~413 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04186319181298083ef28695a8309028b26fe83c;p=thirdparty%2Fipxe.git [thunderx] Fix compilation with older versions of gcc Remove redundant duplicate typedef which causes a build failure on older gcc versions. Signed-off-by: Michael Brown --- diff --git a/src/drivers/net/thunderxcfg.h b/src/drivers/net/thunderxcfg.h index 661175862..235c54319 100644 --- a/src/drivers/net/thunderxcfg.h +++ b/src/drivers/net/thunderxcfg.h @@ -203,9 +203,9 @@ EFI_STATUS /// /// Protocol structure /// -typedef struct _EFI_THUNDER_CONFIG_PROTOCOL { +struct _EFI_THUNDER_CONFIG_PROTOCOL { EFI_THUNDER_CONFIG_PROTOCOL_GET_CONFIG GetConfig; BOARD_CFG* BoardConfig; -} EFI_THUNDER_CONFIG_PROTOCOL; +}; #endif /* _THUNDERXCFG_H */