From 46470a38d0a3b8f29cd8efc4af8a76adcace524a Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Fri, 7 Sep 2018 19:26:25 -0700 Subject: 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 --- app/watchdog.cpp | 3 +-- app/watchdog.hpp | 2 +- app/watchdog_service.cpp | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'app') 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 +#include #include #include @@ -12,8 +13,6 @@ #include #include -#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 /** @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 + #include #include #include @@ -11,8 +13,6 @@ #include #include -#include "host-ipmid/ipmid-api.h" - using phosphor::logging::elog; using phosphor::logging::entry; using phosphor::logging::level; -- cgit v1.2.1