diff options
author | Patrick Venture <venture@google.com> | 2018-09-07 19:26:25 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-09-25 10:06:33 -0700 |
commit | 46470a38d0a3b8f29cd8efc4af8a76adcace524a (patch) | |
tree | c3e2df8b2a238889aabb14b6ba4efd76c4607364 /ipmid.hpp | |
parent | 87651333c451cfa8090273366be5ec62bd1a9eea (diff) | |
download | phosphor-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.hpp')
-rw-r--r-- | ipmid.hpp | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -1,8 +1,7 @@ -#ifndef __HOST_IPMID_IPMI_H__ -#define __HOST_IPMID_IPMI_H__ -#include <stdio.h> +#pragma once -#include "host-ipmid/ipmid-api.h" +#include <host-ipmid/ipmid-api.h> +#include <stdio.h> // When the requester sends in a netfn and a command along with data, this // function will look for registered handlers that will handle that [netfn,cmd] @@ -23,5 +22,3 @@ ipmi_ret_t ipmi_netfn_router(const ipmi_netfn_t, const ipmi_cmd_t, #define MAX_IPMI_BUFFER 64 extern FILE *ipmiio, *ipmidbus, *ipmicmddetails; - -#endif |