]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Framework/Protocol/Hii/Hii.h
Removed extra typedefs on structures to fix error generated by gcc.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Framework / Protocol / Hii / Hii.h
index fd6c951653fc013d9020bc767a221ac1c4e82b9f..ad712805a1c47cc75ae6d8201e11ed65d1f70778 100644 (file)
@@ -36,8 +36,6 @@ Abstract:
 //\r
 // Forward reference for pure ANSI compatability\r
 //\r
-EFI_FORWARD_DECLARATION (EFI_HII_PROTOCOL);\r
-\r
 typedef struct _EFI_HII_PROTOCOL  EFI_HII_PROTOCOL;\r
 \r
 //\r
@@ -585,7 +583,7 @@ EFI_STATUS
   OUT    EFI_KEY_DESCRIPTOR  * Descriptor\r
   );\r
 \r
-typedef struct _EFI_HII_PROTOCOL {\r
+struct _EFI_HII_PROTOCOL {\r
   EFI_HII_NEW_PACK            NewPack;\r
   EFI_HII_REMOVE_PACK         RemovePack;\r
   EFI_HII_FIND_HANDLES        FindHandles;\r
@@ -606,7 +604,7 @@ typedef struct _EFI_HII_PROTOCOL {
   EFI_HII_UPDATE_FORM         UpdateForm;\r
 \r
   EFI_HII_GET_KEYBOARD_LAYOUT GetKeyboardLayout;\r
-} EFI_HII_PROTOCOL;\r
+};\r
 \r
 extern EFI_GUID gEfiHiiProtocolGuid;\r
 \r