]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/Include/Protocol: EFI_HII POPUP_PROTOCOL duplicate declaration
authorMichael D Kinney <michael.d.kinney@intel.com>
Tue, 2 Feb 2021 23:23:27 +0000 (15:23 -0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 1 Apr 2021 23:16:31 +0000 (23:16 +0000)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3285

Remove duplicate declaration of structure type
EFI_HII_POPUP_PROTOCOL from HiiPopup.h.  The forward
declaration of the top of this file already declared
this type.

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
MdePkg/Include/Protocol/HiiPopup.h

index e8161c3701ada94771696cc222bed4b4b0b0fe7f..8e217071d7f871089a442504e9e0b762391fa28d 100644 (file)
@@ -2,7 +2,7 @@
   This protocol provides services to display a popup window.\r
   The protocol is typically produced by the forms browser and consumed by a driver callback handler.\r
 \r
-  Copyright (c) 2017-2018, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2017-2021, Intel Corporation. All rights reserved.<BR>\r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
   @par Revision Reference:\r
@@ -67,10 +67,10 @@ EFI_STATUS
   OUT EFI_HII_POPUP_SELECTION *UserSelection OPTIONAL\r
 );\r
 \r
-typedef struct _EFI_HII_POPUP_PROTOCOL {\r
+struct _EFI_HII_POPUP_PROTOCOL {\r
   UINT64                Revision;\r
   EFI_HII_CREATE_POPUP  CreatePopup;\r
-} EFI_HII_POPUP_PROTOCOL;\r
+};\r
 \r
 extern EFI_GUID gEfiHiiPopupProtocolGuid;\r
 \r