diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2021-02-02 15:24:47 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-04-01 23:16:31 +0000 |
commit | 8c10a2c014c4af6486620982880cc4caf85e3eeb (patch) | |
tree | b88d342984238471416f556ce56fe189a2bf8b11 | |
parent | 32976569af6bbf2b33ce4a7e02072e9b34e9954e (diff) | |
download | edk2-8c10a2c014c4af6486620982880cc4caf85e3eeb.tar.gz edk2-8c10a2c014c4af6486620982880cc4caf85e3eeb.tar.bz2 edk2-8c10a2c014c4af6486620982880cc4caf85e3eeb.zip |
MdePkg/Include/Protocol: EFI_RESET_NOTIFICATION_PROTOCOL duplicate
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>
-rw-r--r-- | MdePkg/Include/Protocol/ResetNotification.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Include/Protocol/ResetNotification.h b/MdePkg/Include/Protocol/ResetNotification.h index 1142424e46..26f8a33858 100644 --- a/MdePkg/Include/Protocol/ResetNotification.h +++ b/MdePkg/Include/Protocol/ResetNotification.h @@ -2,7 +2,7 @@ EFI Reset Notification Protocol as defined in UEFI 2.7.
This protocol provides services to register for a notification when ResetSystem is called.
- Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
@par Revision Reference:
@@ -68,10 +68,10 @@ EFI_STATUS IN EFI_RESET_SYSTEM ResetFunction
);
-typedef struct _EFI_RESET_NOTIFICATION_PROTOCOL {
+struct _EFI_RESET_NOTIFICATION_PROTOCOL {
EFI_REGISTER_RESET_NOTIFY RegisterResetNotify;
EFI_UNREGISTER_RESET_NOTIFY UnregisterResetNotify;
-} EFI_RESET_NOTIFICATION_PROTOCOL;
+};
extern EFI_GUID gEfiResetNotificationProtocolGuid;
|