Pārlūkot izejas kodu

[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 <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 9 gadus atpakaļ
vecāks
revīzija
0418631918
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      src/drivers/net/thunderxcfg.h

+ 2
- 2
src/drivers/net/thunderxcfg.h Parādīt failu

203
 ///
203
 ///
204
 /// Protocol structure
204
 /// Protocol structure
205
 ///
205
 ///
206
-typedef struct _EFI_THUNDER_CONFIG_PROTOCOL {
206
+struct _EFI_THUNDER_CONFIG_PROTOCOL {
207
   EFI_THUNDER_CONFIG_PROTOCOL_GET_CONFIG GetConfig;
207
   EFI_THUNDER_CONFIG_PROTOCOL_GET_CONFIG GetConfig;
208
   BOARD_CFG* BoardConfig;
208
   BOARD_CFG* BoardConfig;
209
-} EFI_THUNDER_CONFIG_PROTOCOL;
209
+};
210
 
210
 
211
 #endif /* _THUNDERXCFG_H */
211
 #endif /* _THUNDERXCFG_H */

Notiek ielāde…
Atcelt
Saglabāt