remove ipmi_ret_t
Since ipmi_ret_t declared in api.h has been gradually deprecated,
this submission will use ipmi::Cc in api.hpp instead.
Change-Id: I0f6ad7a6ffe7d35f76145acff04e8e0ae4d45685
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
diff --git a/storagehandler.cpp b/storagehandler.cpp
index c13c760..43cc142 100644
--- a/storagehandler.cpp
+++ b/storagehandler.cpp
@@ -282,9 +282,9 @@
ipmi::sel::operationSupport::overflow);
}
-ipmi_ret_t getSELEntry(ipmi_netfn_t, ipmi_cmd_t, ipmi_request_t request,
- ipmi_response_t response, ipmi_data_len_t data_len,
- ipmi_context_t)
+ipmi::Cc getSELEntry(ipmi_netfn_t, ipmi_cmd_t, ipmi_request_t request,
+ ipmi_response_t response, ipmi_data_len_t data_len,
+ ipmi_context_t)
{
if (*data_len != sizeof(ipmi::sel::GetSELEntryRequest))
{