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>
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 @@
#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