diff options
author | Patrick Venture <venture@google.com> | 2018-10-20 09:15:33 -0700 |
---|---|---|
committer | Patrick Venture <venture@google.com> | 2018-10-20 09:15:33 -0700 |
commit | a0aae953bb912e6f4afc699f6339b4d6eb00d140 (patch) | |
tree | 87c53919dd83aba54ab7f643626b90e9372a7dbf | |
parent | e4024bc3acdf410e814af34eeee6cd87e3cbcaf5 (diff) | |
download | ipmi-fru-parser-a0aae953bb912e6f4afc699f6339b4d6eb00d140.tar.gz ipmi-fru-parser-a0aae953bb912e6f4afc699f6339b4d6eb00d140.zip |
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.hpp | 13 |
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 |