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: Ief1b330c4f623ecc1be771f36083780a12260834
diff --git a/src/util.hpp b/src/util.hpp
index 804d492..c463ce0 100644
--- a/src/util.hpp
+++ b/src/util.hpp
@@ -36,8 +36,7 @@
* @param[in] bus - DBUS Bus Object.
* @param[in] intfName - Interface name
*/
-ether_addr getfromInventory(sdbusplus::bus::bus& bus,
- const std::string& intfName);
+ether_addr getfromInventory(sdbusplus::bus_t& bus, const std::string& intfName);
/** @brief Converts the given mac address into byte form
* @param[in] str - The mac address in human readable form