summaryrefslogtreecommitdiffstats
path: root/ipmid.cpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-09-07 19:26:25 -0700
committerPatrick Venture <venture@google.com>2018-09-25 10:06:33 -0700
commit46470a38d0a3b8f29cd8efc4af8a76adcace524a (patch)
treec3e2df8b2a238889aabb14b6ba4efd76c4607364 /ipmid.cpp
parent87651333c451cfa8090273366be5ec62bd1a9eea (diff)
downloadphosphor-host-ipmid-46470a38d0a3b8f29cd8efc4af8a76adcace524a.tar.gz
phosphor-host-ipmid-46470a38d0a3b8f29cd8efc4af8a76adcace524a.zip
rename headers to match style
Moving headers from ".h" to ".hpp" Reworked the header inclusion a bit so that host-ipmid is treated as a library, and local headers aren't. renamed apphandler.h => apphandler.hpp renamed chassishandler.h => chassishandler.hpp renamed globalhandler.h => globalhandler.hpp renamed sensorhandler.h => sensorhandler.hpp renamed storageaddsel.h => storageaddsel.hpp renamed storagehandler.h => storagehandler.hpp renamed systemintfcmds.h => systemintfcmds.hpp Change-Id: I9d4ce3dd57e2e996800f9020a10cc10cdf2c3914 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'ipmid.cpp')
-rw-r--r--ipmid.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/ipmid.cpp b/ipmid.cpp
index 6da7ff2..c867e3c 100644
--- a/ipmid.cpp
+++ b/ipmid.cpp
@@ -1,7 +1,10 @@
#include "ipmid.hpp"
-#include "host-ipmid/oemrouter.hpp"
+#include "host-cmd-manager.hpp"
+#include "ipmiwhitelist.hpp"
+#include "sensorhandler.hpp"
#include "settings.hpp"
+#include "timer.hpp"
#include <assert.h>
#include <dirent.h>
@@ -16,22 +19,18 @@
#include <unistd.h>
#include <algorithm>
-#include <host-cmd-manager.hpp>
#include <host-ipmid/ipmid-host-cmd.hpp>
+#include <host-ipmid/oemrouter.hpp>
#include <iostream>
-#include <ipmiwhitelist.hpp>
#include <iterator>
#include <map>
#include <memory>
#include <phosphor-logging/log.hpp>
#include <sdbusplus/bus.hpp>
#include <sdbusplus/bus/match.hpp>
-#include <timer.hpp>
#include <vector>
#include <xyz/openbmc_project/Control/Security/RestrictionMode/server.hpp>
-#include "sensorhandler.h"
-
using namespace phosphor::logging;
namespace sdbusRule = sdbusplus::bus::match::rules;
OpenPOWER on IntegriCloud