#ifndef LWEXT4_EXT4_CRC32C_H_
#define LWEXT4_EXT4_CRC32C_H_
-#include <ext4_config.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "ext4_config.h"
+
#include <stdint.h>
/**@brief CRC32C algorithm.
* @return updated crc32c value*/
uint32_t ext4_crc32c(uint32_t crc, const void *buffer, uint32_t length);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LWEXT4_EXT4_CRC32C_H_ */
/**