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
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I29672cb229bd07022b00f52105ac1d50ecacca62
diff --git a/extensions/phal/fw_update_watch.hpp b/extensions/phal/fw_update_watch.hpp
index 615e10c..d8d056e 100644
--- a/extensions/phal/fw_update_watch.hpp
+++ b/extensions/phal/fw_update_watch.hpp
@@ -40,7 +40,7 @@
* @param[in] bus - The Dbus bus object
*/
- Watch(sdbusplus::bus::bus& bus) :
+ Watch(sdbusplus::bus_t& bus) :
addMatch(bus,
sdbusplus::bus::match::rules::interfacesAdded() +
sdbusplus::bus::match::rules::path(OBJ_SOFTWARE),
@@ -73,7 +73,7 @@
*
* @param[in] msg - Data associated with subscribed signal
*/
- void fwIntfAddedCallback(sdbusplus::message::message& msg);
+ void fwIntfAddedCallback(sdbusplus::message_t& msg);
/** @brief sdbusplus signal match for software path add */
sdbusplus::bus::match_t addMatch;