From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web12.3323.1628654214382651483 for ; Tue, 10 Aug 2021 20:56:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=o5avHSzX; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=08571cd263=abner.chang@hpe.com) Received: from pps.filterd (m0134422.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 17B3sd1N004315 for ; Wed, 11 Aug 2021 03:56:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id; s=pps0720; bh=K0hKWrwf/PaIVRoDU8VumE6/AC39wnsuOS1s+T7GPus=; b=o5avHSzXwfplrIIlrJVlYBlP3r9+/8yLlWWJgTPbqySvZx4bZjWv51ghhLpLQ6K1eC/7 5ILHmpna+u9xf05kuv7F88+xfE/Fo0Q7rGuzjv/vUPwr6yrJVR0hwisx16O/+XbXqbCE /2fZxpytvEN4WYKZg+C3SH+q/ZMdhEul5AQ8oGbZEQnS0sVTYc1SV3phUq62uYFBersD g/k47aFiLwGEzJuERg9y3PyVhlGVDNy8CwTef0+VcfPFaYUbt7lTHqxR7peVJf6sUnav IeV+/tFAyuzJgTfzShiibaVUxPuWkxSc0CgUFhwG6rz6R0uLok8zcqsVNoKt62SCP7qL Qg== Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) by mx0b-002e3701.pphosted.com with ESMTP id 3ac0hktq41-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 11 Aug 2021 03:56:53 +0000 Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g9t5008.houston.hpe.com (Postfix) with ESMTP id C8B844F for ; Wed, 11 Aug 2021 03:56:52 +0000 (UTC) Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id 029D24C; Wed, 11 Aug 2021 03:56:51 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Nickle Wang Subject: [PATCH V2] RedfishPkg/RefishCrtLib: Public RefishCrtLib Date: Wed, 11 Aug 2021 11:01:12 +0800 Message-Id: <20210811030112.7330-1-abner.chang@hpe.com> X-Mailer: git-send-email 2.17.1 X-Proofpoint-ORIG-GUID: uh6cNUdGjB36k-DEjdWDNyfX5Xx_ndMB X-Proofpoint-GUID: uh6cNUdGjB36k-DEjdWDNyfX5Xx_ndMB X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-08-11_01:2021-08-10,2021-08-11 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 suspectscore=0 mlxlogscore=858 adultscore=0 mlxscore=0 bulkscore=0 spamscore=0 impostorscore=0 clxscore=1015 phishscore=0 priorityscore=1501 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108110023 Public the header file, move RefishCrtLib.h from PrivateInclude/ to Include/. RefishCrtLib.lib will be public later. (Moved out from PrivateLibrary/) Signed-off-by: Abner Chang Cc: Nickle Wang Reviewed-by: Nickle Wang --- RedfishPkg/{PrivateInclude => Include}/Library/RedfishCrtLib.h | 2 +- .../RedfishLib/edk2libredfish/include/redfishPayload.h | 2 +- .../RedfishLib/edk2libredfish/include/redfishService.h | 2 +- .../PrivateLibrary/RedfishLib/edk2libredfish/include/redpath.h | 2 +- RedfishPkg/RedfishPkg.ci.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename RedfishPkg/{PrivateInclude => Include}/Library/RedfishCrtLib.h (96%) diff --git a/RedfishPkg/PrivateInclude/Library/RedfishCrtLib.h b/RedfishPkg/Include/Library/RedfishCrtLib.h similarity index 96% rename from RedfishPkg/PrivateInclude/Library/RedfishCrtLib.h rename to RedfishPkg/Include/Library/RedfishCrtLib.h index 28a493d782..5e15768938 100644 --- a/RedfishPkg/PrivateInclude/Library/RedfishCrtLib.h +++ b/RedfishPkg/Include/Library/RedfishCrtLib.h @@ -2,7 +2,7 @@ Redfish CRT wrapper functions. Copyright (c) 2019, Intel Corporation. All rights reserved.
- (C) Copyright 2020 Hewlett Packard Enterprise Development LP
+ (C) Copyright 2021 Hewlett Packard Enterprise Development LP
SPDX-License-Identifier: BSD-2-Clause-Patent diff --git a/RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redfishPayload.h b/RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redfishPayload.h index 03380d9394..43149f3c89 100644 --- a/RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redfishPayload.h +++ b/RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redfishPayload.h @@ -17,7 +17,7 @@ #ifndef LIBREDFISH_REDFISH_PAYLOAD_H_ #define LIBREDFISH_REDFISH_PAYLOAD_H_ -#include +#include #include #include diff --git a/RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redfishService.h b/RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redfishService.h index 5bcb381c05..0215caccfc 100644 --- a/RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redfishService.h +++ b/RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redfishService.h @@ -30,7 +30,7 @@ #include #include -#include +#include #include #include diff --git a/RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redpath.h b/RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redpath.h index bdec6098e5..24413a648a 100644 --- a/RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redpath.h +++ b/RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redpath.h @@ -17,7 +17,7 @@ #ifndef LIBREDFISH_REDPATH_H_ #define LIBREDFISH_REDPATH_H_ -#include +#include #include diff --git a/RedfishPkg/RedfishPkg.ci.yaml b/RedfishPkg/RedfishPkg.ci.yaml index 1fe9bdb8d1..96133f8c28 100644 --- a/RedfishPkg/RedfishPkg.ci.yaml +++ b/RedfishPkg/RedfishPkg.ci.yaml @@ -34,8 +34,8 @@ "PrivateInclude/Crt/stdlib.h", "PrivateInclude/Crt/string.h", "PrivateInclude/Crt/time.h", - "PrivateInclude/Library/RedfishCrtLib.h", "PrivateLibrary/RedfishCrtLib/RedfishCrtLib.c", + "Include/Library/RedfishCrtLib.h", ## ## For jansson library open source ## load.c is overrided from open source. -- 2.17.1