From a0aae953bb912e6f4afc699f6339b4d6eb00d140 Mon Sep 17 00:00:00 2001 From: Patrick Venture Date: Sat, 20 Oct 2018 09:15:33 -0700 Subject: 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 --- writefrudata.hpp | 13 ------------- 1 file changed, 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 -#include #include -#ifndef __cplusplus -#include // 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 -- cgit v1.2.1