]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/Include/Protocol: EFI_RESET_NOTIFICATION_PROTOCOL duplicate
authorMichael D Kinney <michael.d.kinney@intel.com>
Tue, 2 Feb 2021 23:24:47 +0000 (15:24 -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=3286

Remove duplicate declaration of structure type
EFI_RESET_NOTIFICATION_PROTOCOL from ResetNotification.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/ResetNotification.h

index 1142424e4610920bbffd71b2ff3e16cf43f8a64c..26f8a33858f46d2bb63529e85970448c75782426 100644 (file)
@@ -2,7 +2,7 @@
   EFI Reset Notification Protocol as defined in UEFI 2.7.\r
   This protocol provides services to register for a notification when ResetSystem is called.\r
 \r
-  Copyright (c) 2017, 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
@@ -68,10 +68,10 @@ EFI_STATUS
   IN EFI_RESET_SYSTEM                ResetFunction\r
 );\r
 \r
-typedef struct _EFI_RESET_NOTIFICATION_PROTOCOL {\r
+struct _EFI_RESET_NOTIFICATION_PROTOCOL {\r
   EFI_REGISTER_RESET_NOTIFY   RegisterResetNotify;\r
   EFI_UNREGISTER_RESET_NOTIFY UnregisterResetNotify;\r
-} EFI_RESET_NOTIFICATION_PROTOCOL;\r
+};\r
 \r
 \r
 extern EFI_GUID gEfiResetNotificationProtocolGuid;\r