Move util.cpp/util.hpp to libipmid
These are functions that are used widely by ipmid providers, so it makes
sense to put them in libipmi.so (the library that all providers must
link against).
Tested-by: use nm to inspect the binaries to see that the symbols are in
the expected library.
arm-openbmc-linux-gnueabi-nm libipmid.so.0.0.0 \
| grep getDbusObject
0001063c T _ZN4ipmi13getDbusObjectERN9sdbusplus....
Change-Id: I1221f807f2711c5301c5574623564ea1ae48a437
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
diff --git a/sensordatahandler.cpp b/sensordatahandler.cpp
index 4f552a3..87c82b9 100644
--- a/sensordatahandler.cpp
+++ b/sensordatahandler.cpp
@@ -2,9 +2,9 @@
#include "sensorhandler.hpp"
#include "types.hpp"
-#include "utils.hpp"
#include <bitset>
+#include <ipmid/utils.hpp>
#include <optional>
#include <phosphor-logging/elog-errors.hpp>
#include <phosphor-logging/log.hpp>