summaryrefslogtreecommitdiff
path: root/redfish-core/lib/ut
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-03-07 23:46:00 +0300
committerEd Tanous <ed@tanous.net>2022-03-12 19:35:36 +0300
commitf7725d79fa9b5fcffcc368008fa029ea1a16c4b9 (patch)
tree80c818f113a1ef6bee867985128b500dd197c201 /redfish-core/lib/ut
parent55f79e6fe156505cdaddd521212a29b2a977193a (diff)
downloadbmcweb-f7725d79fa9b5fcffcc368008fa029ea1a16c4b9.tar.xz
Make code compile on clang again
There are a couple places we missed inline/static on our headers, and a couple unused message entry callbacks for which their parameters were incorrect (which clang caught). Fix all of them. Tested: Code compiles on clang. No-op changes. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I12c9c04d3b773c4991c6cd92d0cfd42b348762d6
Diffstat (limited to 'redfish-core/lib/ut')
-rw-r--r--redfish-core/lib/ut/service_root_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/ut/service_root_test.cpp b/redfish-core/lib/ut/service_root_test.cpp
index a8358793d3..9e6c423215 100644
--- a/redfish-core/lib/ut/service_root_test.cpp
+++ b/redfish-core/lib/ut/service_root_test.cpp
@@ -8,7 +8,7 @@
#include "gmock/gmock.h"
-void assertServiceRootGet(crow::Response& res)
+static void assertServiceRootGet(crow::Response& res)
{
nlohmann::json& json = res.jsonValue;
EXPECT_EQ(json["@odata.id"], "/redfish/v1");