diff options
author | Abner Chang <abner.chang@hpe.com> | 2021-08-11 00:07:23 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-08-11 05:03:31 +0000 |
commit | 7311e9641785bbcdf2925bfc91b92e43a6158a7d (patch) | |
tree | 8d4be3b1e73359d52518ae95a9409b4c0c0e0846 /RedfishPkg | |
parent | 3d359ff90571704b53f19bf95aa797337c041abc (diff) | |
download | edk2-7311e9641785bbcdf2925bfc91b92e43a6158a7d.tar.gz edk2-7311e9641785bbcdf2925bfc91b92e43a6158a7d.tar.bz2 edk2-7311e9641785bbcdf2925bfc91b92e43a6158a7d.zip |
RedfishPkg/RefishCrtLib: Public RefishCrtLib
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 <abner.chang@hpe.com>
Cc: Nickle Wang <nickle.wang@hpe.com>
Reviewed-by: Nickle Wang <nickle.wang@hpe.com>
Diffstat (limited to 'RedfishPkg')
-rw-r--r-- | RedfishPkg/Include/Library/RedfishCrtLib.h (renamed from RedfishPkg/PrivateInclude/Library/RedfishCrtLib.h) | 2 | ||||
-rw-r--r-- | RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redfishPayload.h | 2 | ||||
-rw-r--r-- | RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redfishService.h | 2 | ||||
-rw-r--r-- | RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/include/redpath.h | 2 | ||||
-rw-r--r-- | RedfishPkg/RedfishPkg.ci.yaml | 2 | ||||
-rw-r--r-- | RedfishPkg/RedfishPkg.dec | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/RedfishPkg/PrivateInclude/Library/RedfishCrtLib.h b/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.<BR>
- (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
+ (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>
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 <PrivateInclude/Library/RedfishCrtLib.h>
+#include <Include/Library/RedfishCrtLib.h>
#include <jansson.h>
#include <redfishService.h>
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 <Library/UefiRuntimeServicesTableLib.h>
#include <Library/UefiBootServicesTableLib.h>
-#include <PrivateInclude/Library/RedfishCrtLib.h>
+#include <Include/Library/RedfishCrtLib.h>
#include <Protocol/EdkIIRedfishConfigHandler.h>
#include <Protocol/RestEx.h>
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 <PrivateInclude/Library/RedfishCrtLib.h>
+#include <Include/Library/RedfishCrtLib.h>
#include <jansson.h>
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.
diff --git a/RedfishPkg/RedfishPkg.dec b/RedfishPkg/RedfishPkg.dec index 846c19fd5e..9886502a0d 100644 --- a/RedfishPkg/RedfishPkg.dec +++ b/RedfishPkg/RedfishPkg.dec @@ -60,7 +60,7 @@ # CRT library is currently used by edk2 JsonLib (open source
# jansson project) and edk2 RedfishLib (libredfish open source
# project).
- RedfishCrtLib|PrivateInclude/Library/RedfishCrtLib.h
+ RedfishCrtLib|Include/Library/RedfishCrtLib.h
## @libraryclass Redfish Helper Library
# Library provides Redfish helper functions.
|