diff options
author | Ed Tanous <edtanous@google.com> | 2022-03-07 23:46:00 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-03-12 19:35:36 +0300 |
commit | f7725d79fa9b5fcffcc368008fa029ea1a16c4b9 (patch) | |
tree | 80c818f113a1ef6bee867985128b500dd197c201 /redfish-core/lib/ut | |
parent | 55f79e6fe156505cdaddd521212a29b2a977193a (diff) | |
download | bmcweb-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.cpp | 2 |
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"); |