Add ph_blk_offset during every blockdev bread/bwrite
[lwext4.git] / lwext4 / ext4_crc32c.h
index 659699ebdbd4e103cd8fe8925b3d570f271d96e3..24d7a411f53da93dbc62b6c340bb3101aa0d1669 100644 (file)
 #ifndef LWEXT4_EXT4_CRC32C_H_
 #define LWEXT4_EXT4_CRC32C_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include "ext4_config.h"
 
 #include <stdint.h>
  * @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_ */
 
 /**