summaryrefslogtreecommitdiff
path: root/include/sqfs/table.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sqfs/table.h')
-rw-r--r--include/sqfs/table.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sqfs/table.h b/include/sqfs/table.h
index b1b0c2d..bc4c7e8 100644
--- a/include/sqfs/table.h
+++ b/include/sqfs/table.h
@@ -13,6 +13,10 @@
#include <stdint.h>
#include <stddef.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
Convenience function for writing meta data to a SquashFS image
@@ -31,4 +35,8 @@ void *sqfs_read_table(int fd, compressor_t *cmp, size_t table_size,
uint64_t location, uint64_t lower_limit,
uint64_t upper_limit);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* SQFS_TABLE_H */