app: remove IPMI_CMD_WILDCARD
cmdWildcard is already declared in api-types.hpp, this commit remove
IPMI_CMD_WILDCARD in app.hpp.
Change-Id: Ic1d944f012022e702a1e5a0aef7a039249684fa2
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
diff --git a/test/oemrouter_unittest.cpp b/test/oemrouter_unittest.cpp
index 2be5f55..f5997fd 100644
--- a/test/oemrouter_unittest.cpp
+++ b/test/oemrouter_unittest.cpp
@@ -21,7 +21,7 @@
ipmi_cmd_privilege_t priv)
{
EXPECT_EQ(NETFUN_OEM_GROUP, netfn);
- EXPECT_EQ(IPMI_CMD_WILDCARD, cmd);
+ EXPECT_EQ(cmdWildcard, cmd);
EXPECT_EQ(reinterpret_cast<void*>(singletonUnderTest), context);
EXPECT_EQ(PRIVILEGE_OEM, priv);
lastNetFunction = netfn;
@@ -75,7 +75,7 @@
};
RegisterWithRouter(0x123456, 0x78, f);
- *nextCmd = IPMI_CMD_WILDCARD;
+ *nextCmd = cmdWildcard;
Handler g = [nextCmd](ipmi_cmd_t cmd, const uint8_t* reqBuf,
uint8_t* replyBuf, size_t* dataLen) {
// Check inputs
@@ -92,7 +92,7 @@
*dataLen = 0;
return 0;
};
- RegisterWithRouter(0x234567, IPMI_CMD_WILDCARD, g);
+ RegisterWithRouter(0x234567, cmdWildcard, g);
}
} // namespace