From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com []) by mx.groups.io with SMTP id smtpd.web12.1390.1617145464815206389 for ; Tue, 30 Mar 2021 16:04:25 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: michael.d.kinney@intel.com) IronPort-SDR: bLHZZPT0w8IyCJspzA+wlyXywwdDwRCOkqr97KukqDnbPJn0ei/wjLrYjZctSeZ5GV0FcfNy7v 0Vl5IMvV96yQ== X-IronPort-AV: E=McAfee;i="6000,8403,9939"; a="171282412" X-IronPort-AV: E=Sophos;i="5.81,291,1610438400"; d="scan'208";a="171282412" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2021 16:04:22 -0700 IronPort-SDR: G0zywo7w9yFc/g9k0j+UoxXYzWZL7NWd5Ru6gI2H4g4K9NatM0lrqEFyvY3eI1lYCctEThu8+H Fskk9Z8TIqKw== X-IronPort-AV: E=Sophos;i="5.81,291,1610438400"; d="scan'208";a="455222102" Received: from mdkinney-mobl2.amr.corp.intel.com ([10.251.11.21]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2021 16:04:22 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Liming Gao , Zhiguang Liu Subject: [Patch 2/3] MdePkg/Include/Protocol: EFI_RESET_NOTIFICATION_PROTOCOL duplicate Date: Tue, 30 Mar 2021 16:04:04 -0700 Message-Id: <20210330230405.1162-3-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 In-Reply-To: <20210330230405.1162-1-michael.d.kinney@intel.com> References: <20210330230405.1162-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Cc: Zhiguang Liu Signed-off-by: Michael D Kinney --- MdePkg/Include/Protocol/ResetNotification.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MdePkg/Include/Protocol/ResetNotification.h b/MdePkg/Include/Protocol/ResetNotification.h index 1142424e4610..26f8a33858f4 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.
+ Copyright (c) 2017 - 2021, Intel Corporation. All rights reserved.
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; -- 2.31.1.windows.1