From d700e76abb015ff7f7cd3df2769e1f91b452020a Mon Sep 17 00:00:00 2001 From: Tom Date: Tue, 20 Sep 2016 18:24:13 +0530 Subject: 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 --- storageaddsel.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'storageaddsel.cpp') diff --git a/storageaddsel.cpp b/storageaddsel.cpp index 2deb3cb..47328b0 100644 --- a/storageaddsel.cpp +++ b/storageaddsel.cpp @@ -8,14 +8,12 @@ #include #include #include -#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 { -- cgit v1.2.1