summaryrefslogtreecommitdiffstats
path: root/storageaddsel.cpp
diff options
context:
space:
mode:
authorTom <tomjoseph@in.ibm.com>2016-09-20 18:24:13 +0530
committerPatrick Williams <patrick@stwcx.xyz>2016-09-23 13:03:41 +0000
commitd700e76abb015ff7f7cd3df2769e1f91b452020a (patch)
tree9858482c654021f9004559f9cd285ad92593f140 /storageaddsel.cpp
parent8b4700521afc5760474fc82ebeb861c2c84118da (diff)
downloadphosphor-host-ipmid-d700e76abb015ff7f7cd3df2769e1f91b452020a.tar.gz
phosphor-host-ipmid-d700e76abb015ff7f7cd3df2769e1f91b452020a.zip
Refactor the code related to Sensor handling
The sensor related code is moved to sensorhandler.c. These changes were part of the ipmi daemon code and would have to replicated in RMCP daemon. The refactoring would get away with those changes. Change-Id: Ib9e1a1929282221e6f259e4a54502eea82f42939 Signed-off-by: Tom <tomjoseph@in.ibm.com>
Diffstat (limited to 'storageaddsel.cpp')
-rw-r--r--storageaddsel.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/storageaddsel.cpp b/storageaddsel.cpp
index 2deb3cb..47328b0 100644
--- a/storageaddsel.cpp
+++ b/storageaddsel.cpp
@@ -8,14 +8,12 @@
#include <memory>
#include <systemd/sd-bus.h>
#include <mapper.h>
-#include "ipmid.hpp"
-#include "storagehandler.h"
+#include "host-ipmid/ipmid-api.h"
#include "sensorhandler.h"
+#include "storagehandler.h"
-using namespace std;
-
-extern int find_openbmc_path(const char *, const uint8_t , dbus_interface_t *);
+using namespace std;
//////////////////////////
struct esel_section_headers_t {
OpenPOWER on IntegriCloud