summaryrefslogtreecommitdiff
path: root/redfish-core/lib/log_services.hpp
diff options
context:
space:
mode:
authorNan Zhou <nanzhoumails@gmail.com>2022-06-27 02:07:40 +0300
committerNan Zhou <nanzhoumails@gmail.com>2022-06-27 19:23:18 +0300
commit21ab404c7fd8c334d1651feca637e68ec3a7318d (patch)
treea3fdb7c302d7f71f44d6e6c06df41a02baa9287b /redfish-core/lib/log_services.hpp
parent01358549a0ee0d2f321f037d670f1981c8533623 (diff)
downloadbmcweb-21ab404c7fd8c334d1651feca637e68ec3a7318d.tar.xz
log_service: make function static
clang14++ doesn't build at HEAD because of the non-static function |getDumpEntriesPath|. Tested: clang builds. Signed-off-by: Nan Zhou <nanzhoumails@gmail.com> Change-Id: Ib6a03f3deb435afbb04445cd7f76ee0514ceb3f1
Diffstat (limited to 'redfish-core/lib/log_services.hpp')
-rw-r--r--redfish-core/lib/log_services.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index 11cdeffd89..8b1466aa28 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -325,7 +325,7 @@ static bool
return !redfishLogFiles.empty();
}
-std::string getDumpEntriesPath(const std::string& dumpType)
+static std::string getDumpEntriesPath(const std::string& dumpType)
{
std::string entriesPath;