summaryrefslogtreecommitdiffstats
path: root/ipmid.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ipmid.hpp')
-rw-r--r--ipmid.hpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/ipmid.hpp b/ipmid.hpp
index 9d62611..b59cd02 100644
--- a/ipmid.hpp
+++ b/ipmid.hpp
@@ -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
OpenPOWER on IntegriCloud