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>
diff --git a/app/watchdog.cpp b/app/watchdog.cpp
index f6818cb..3d8e227 100644
--- a/app/watchdog.cpp
+++ b/app/watchdog.cpp
@@ -4,6 +4,7 @@
#include "watchdog_service.hpp"
#include <endian.h>
+#include <host-ipmid/ipmid-api.h>
#include <cstdint>
#include <phosphor-logging/elog-errors.hpp>
@@ -12,8 +13,6 @@
#include <string>
#include <xyz/openbmc_project/Common/error.hpp>
-#include "host-ipmid/ipmid-api.h"
-
using phosphor::logging::commit;
using phosphor::logging::level;
using phosphor::logging::log;
diff --git a/app/watchdog.hpp b/app/watchdog.hpp
index 507695f..268ca92 100644
--- a/app/watchdog.hpp
+++ b/app/watchdog.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include "host-ipmid/ipmid-api.h"
+#include <host-ipmid/ipmid-api.h>
/** @brief The RESET watchdog IPMI command.
*
diff --git a/app/watchdog_service.cpp b/app/watchdog_service.cpp
index 923264b..769a70d 100644
--- a/app/watchdog_service.cpp
+++ b/app/watchdog_service.cpp
@@ -1,5 +1,7 @@
#include "watchdog_service.hpp"
+#include <host-ipmid/ipmid-api.h>
+
#include <exception>
#include <phosphor-logging/elog-errors.hpp>
#include <phosphor-logging/elog.hpp>
@@ -11,8 +13,6 @@
#include <xyz/openbmc_project/Common/error.hpp>
#include <xyz/openbmc_project/State/Watchdog/server.hpp>
-#include "host-ipmid/ipmid-api.h"
-
using phosphor::logging::elog;
using phosphor::logging::entry;
using phosphor::logging::level;