summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-10-20 09:15:33 -0700
committerPatrick Venture <venture@google.com>2018-10-20 09:15:33 -0700
commita0aae953bb912e6f4afc699f6339b4d6eb00d140 (patch)
tree87c53919dd83aba54ab7f643626b90e9372a7dbf
parente4024bc3acdf410e814af34eeee6cd87e3cbcaf5 (diff)
downloadipmi-fru-parser-a0aae953bb912e6f4afc699f6339b4d6eb00d140.zip
ipmi-fru-parser-a0aae953bb912e6f4afc699f6339b4d6eb00d140.tar.gz
writefrudata: cleanup header
Cleanup header from unnecessary guarding. The guards may have been required in earlier compilations if the source was in a mixed environment. Change-Id: Id03a524ad8bd1375f1aefc0bec8661e4d929543a Signed-off-by: Patrick Venture <venture@google.com>
-rw-r--r--writefrudata.hpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/writefrudata.hpp b/writefrudata.hpp
index 6b5ed47..356b4b5 100644
--- a/writefrudata.hpp
+++ b/writefrudata.hpp
@@ -1,14 +1,8 @@
#ifndef __IPMI_WRITE_FRU_DATA_H__
#define __IPMI_WRITE_FRU_DATA_H__
-#include <stddef.h>
-#include <stdint.h>
#include <systemd/sd-bus.h>
-#ifndef __cplusplus
-#include <stdbool.h> // For bool variable
-#endif
-
// IPMI commands for Storage net functions.
enum ipmi_netfn_storage_cmds
{
@@ -47,13 +41,6 @@ struct common_header
#define IPMI_FRU_HDR_CRC_OFFSET offsetof(struct common_header, crc)
#define IPMI_EIGHT_BYTES 8
-#ifdef __cplusplus
-extern "C" {
-#endif
-
int ipmi_validate_fru_area(const uint8_t, const char*, sd_bus*, const bool);
-#ifdef __cplusplus
-} // extern C
-#endif
#endif
OpenPOWER on IntegriCloud