From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cxsh.intel-email.com (cxsh.intel-email.com [121.46.250.151]) by mx.groups.io with SMTP id smtpd.web11.93988.1679633729792854797 for ; Thu, 23 Mar 2023 21:55:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@byosoft.com.cn header.s=cloud-union header.b=UhROfmCl; spf=pass (domain: byosoft.com.cn, ip: 121.46.250.151, mailfrom: gaoliming@byosoft.com.cn) Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 676A5DDA7B1 for ; Fri, 24 Mar 2023 12:55:27 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=byosoft.com.cn; s=cloud-union; t=1679633727; bh=f6O6pbo4srO81KYD0av5+Prcrry7tjI+4eG4i6TmvEk=; h=From:To:References:In-Reply-To:Subject:Date; b=UhROfmClvIVHbOc1Yj9DAnkPQhN8U3vhN+c0HDziyarnPF8mM1KNys1Pcvm9TqCp8 y99euFvuufiWsExfBqg4g7b0Vicb8W/hI07sgoRilePOSqoHPl/0gVE0jr0LYXqSBs xf3zTglYu6mXjfRxNfD8B8iH24mu/ucp0U/1MU2c= Received: from localhost (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 62E4DDDA7A9 for ; Fri, 24 Mar 2023 12:55:27 +0800 (CST) Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 34DDCDDA7A1 for ; Fri, 24 Mar 2023 12:55:27 +0800 (CST) Authentication-Results: cxsh.intel-email.com; none Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by cxsh.intel-email.com (Postfix) with SMTP id D39A5DDA7A3 for ; Fri, 24 Mar 2023 12:55:22 +0800 (CST) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Fri, 24 Mar 2023 12:55:14 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: "'Rebecca Cran'" , , "'Bob Feng'" , "'Yuwei Chen'" References: <20230225005431.12173-1-rebecca@bsdio.com> <20230225005431.12173-3-rebecca@bsdio.com> In-Reply-To: <20230225005431.12173-3-rebecca@bsdio.com> Subject: =?UTF-8?B?5Zue5aSNOiBbUEFUQ0ggMi8zXSBCYXNlVG9vbHM6IFJlcGxhY2UgZHVwbGljYXRlIF9fUGNkU2V0IHByb3RvdHlwZSB3aXRoIF9fUGNkR2V0?= Date: Fri, 24 Mar 2023 12:55:18 +0800 Message-ID: <035001d95e0c$d52042a0$7f60c7e0$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQJfxpCljrbd3kcBQcow5SPIloYhxwIRCmy2rewEH9A= Sender: "gaoliming" Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Reviewed-by: Liming Gao > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: Rebecca Cran > =B7=A2=CB=CD=CA=B1=BC=E4: 2023=C4=EA2=D4=C225=C8=D5 8:55 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io; Bob Feng = ; Liming > Gao ; Yuwei Chen > =B3=AD=CB=CD: Rebecca Cran > =D6=F7=CC=E2: [PATCH 2/3] BaseTools: Replace duplicate __PcdSet = prototype with > __PcdGet >=20 > Replace the duplicate __PcdSet prototype in PcdValueCommon.h > with the prototype for __PcdGet. >=20 > Signed-off-by: Rebecca Cran > --- > BaseTools/Source/C/Common/PcdValueCommon.h | 13 ++++++------- > 1 file changed, 6 insertions(+), 7 deletions(-) >=20 > diff --git a/BaseTools/Source/C/Common/PcdValueCommon.h > b/BaseTools/Source/C/Common/PcdValueCommon.h > index 02ef803be479..7dac5bd92dbc 100644 > --- a/BaseTools/Source/C/Common/PcdValueCommon.h > +++ b/BaseTools/Source/C/Common/PcdValueCommon.h > @@ -78,13 +78,12 @@ __PcdSet ( >=20 > @return PCD value > **/ > -VOID > -__PcdSet ( > - CHAR8 *SkuName OPTIONAL, > - CHAR8 *DefaultValueName OPTIONAL, > - CHAR8 *TokenSpaceGuidName, > - CHAR8 *TokenName, > - UINT64 Value > +UINT64 > +__PcdGet ( > + CHAR8 *SkuName OPTIONAL, > + CHAR8 *DefaultValueName OPTIONAL, > + CHAR8 *TokenSpaceGuidName, > + CHAR8 *TokenName > ) > ; >=20 > -- > 2.37.1 (Apple Git-137.1)