summaryrefslogtreecommitdiffstats
path: root/src/f2fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/f2fs.h')
-rw-r--r--src/f2fs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/f2fs.h b/src/f2fs.h
index e1d7086b..6cf9287f 100644
--- a/src/f2fs.h
+++ b/src/f2fs.h
@@ -19,7 +19,17 @@
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef _F2FS_H
+#define _F2FS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
int check_f2fs(disk_t *disk, partition_t *partition);
int test_f2fs(const struct f2fs_super_block *hdr);
int recover_f2fs(const disk_t *disk, const struct f2fs_super_block *hdr, partition_t *partition);
+
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
+#endif
+#endif