From d4c76fa17d9caccb48926a20404512cc7c371684 Mon Sep 17 00:00:00 2001 From: Nickle Wang Date: Fri, 2 Feb 2024 07:59:52 +0800 Subject: RedfishPkg/RedfishDebugLib: use RedfishHttpLib Remove RedfishLib and use RedfishHttpLib for debug printing Redfish response data. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy Cc: Nick Ramirez Reviewed-by: Abner Chang Reviewed-by: Igor Kulchytskyy --- RedfishPkg/Include/Library/RedfishDebugLib.h | 2 +- RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.c | 1 + RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/RedfishPkg/Include/Library/RedfishDebugLib.h b/RedfishPkg/Include/Library/RedfishDebugLib.h index 3430cf1d14..ad7a697586 100644 --- a/RedfishPkg/Include/Library/RedfishDebugLib.h +++ b/RedfishPkg/Include/Library/RedfishDebugLib.h @@ -11,9 +11,9 @@ #define REDFISH_DEBUG_LIB_H_ #include +#include #include #include -#include #include diff --git a/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.c b/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.c index 3728f51213..8b0425b8c3 100644 --- a/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.c +++ b/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #ifndef IS_EMPTY_STRING diff --git a/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf b/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf index 048d27c6dc..d468bb213b 100644 --- a/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf +++ b/RedfishPkg/Library/RedfishDebugLib/RedfishDebugLib.inf @@ -1,7 +1,7 @@ ## @file # INF file for Redfish debug library. # -# Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -32,7 +32,7 @@ DebugLib JsonLib MemoryAllocationLib - RedfishLib + RedfishHttpLib UefiLib [Depex] -- cgit v1.2.3