summaryrefslogtreecommitdiffstats
path: root/app
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 /app
parent87651333c451cfa8090273366be5ec62bd1a9eea (diff)
downloadphosphor-host-ipmid-46470a38d0a3b8f29cd8efc4af8a76adcace524a.zip
phosphor-host-ipmid-46470a38d0a3b8f29cd8efc4af8a76adcace524a.tar.gz
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 'app')
-rw-r--r--app/watchdog.cpp3
-rw-r--r--app/watchdog.hpp2
-rw-r--r--app/watchdog_service.cpp4
3 files changed, 4 insertions, 5 deletions
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;
OpenPOWER on IntegriCloud