sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types.
Switch to using them to provide better code clarity and shorter
lines. Possible replacements are for:
* bus_t
* exception_t
* manager_t
* match_t
* message_t
* object_t
* slot_t
Change-Id: I02e8e49b245f1f42d10983fee65f05efc5326fc7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/dump-extensions/openpower-dumps/op_dump_util.cpp b/dump-extensions/openpower-dumps/op_dump_util.cpp
index ddb0699..37cd8f7 100644
--- a/dump-extensions/openpower-dumps/op_dump_util.cpp
+++ b/dump-extensions/openpower-dumps/op_dump_util.cpp
@@ -19,7 +19,7 @@
namespace util
{
-bool isOPDumpsEnabled(sdbusplus::bus::bus& bus)
+bool isOPDumpsEnabled(sdbusplus::bus_t& bus)
{
// Set isEnabled as true by default. In a field deployment, the system dump
// feature is usually enabled to facilitate effective debugging in the event
@@ -54,7 +54,7 @@
}
BIOSAttrValueType readBIOSAttribute(const std::string& attrName,
- sdbusplus::bus::bus& bus)
+ sdbusplus::bus_t& bus)
{
std::tuple<std::string, BIOSAttrValueType, BIOSAttrValueType> attrVal;
auto method = bus.new_method_call(
@@ -77,7 +77,7 @@
return std::get<1>(attrVal);
}
-bool isSystemDumpInProgress(sdbusplus::bus::bus& bus)
+bool isSystemDumpInProgress(sdbusplus::bus_t& bus)
{
try
{