summaryrefslogtreecommitdiffstats
path: root/sensordatahandler.hpp
diff options
context:
space:
mode:
authorVernon Mauery <vernon.mauery@linux.intel.com>2019-03-11 15:57:48 -0700
committerVernon Mauery <vernon.mauery@linux.intel.com>2019-03-25 16:18:21 +0000
commit6a98fe7fd233813f3875d4a8c565234418a41f33 (patch)
treecb9f4c87577fa3814d39716253c58ca78ed736b0 /sensordatahandler.hpp
parent4ec4e40a44d68efb7f70603aa5bda5a4f96f2de5 (diff)
downloadphosphor-host-ipmid-6a98fe7fd233813f3875d4a8c565234418a41f33.zip
phosphor-host-ipmid-6a98fe7fd233813f3875d4a8c565234418a41f33.tar.gz
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>
Diffstat (limited to 'sensordatahandler.hpp')
-rw-r--r--sensordatahandler.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sensordatahandler.hpp b/sensordatahandler.hpp
index 9c32da9..82ed002 100644
--- a/sensordatahandler.hpp
+++ b/sensordatahandler.hpp
@@ -2,11 +2,11 @@
#include "sensorhandler.hpp"
#include "types.hpp"
-#include "utils.hpp"
#include <ipmid/api.h>
#include <cmath>
+#include <ipmid/utils.hpp>
#include <sdbusplus/message/types.hpp>
namespace ipmi
OpenPOWER on IntegriCloud