summaryrefslogtreecommitdiff
path: root/include/sqfs/inode.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-01 17:08:40 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-01 17:08:40 +0200
commit2e28c45601a57b1d23e9cad33d2bdcc59e8a3f4f (patch)
tree346da06f09e147197a805fa2494ca1633531d8c9 /include/sqfs/inode.h
parent4ee671b63b18701a29cf9f119e2dc26a055c69c5 (diff)
Add C++ gurads to publicly exported functions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs/inode.h')
-rw-r--r--include/sqfs/inode.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sqfs/inode.h b/include/sqfs/inode.h
index 24889b8..6fb56b6 100644
--- a/include/sqfs/inode.h
+++ b/include/sqfs/inode.h
@@ -130,6 +130,9 @@ typedef struct {
uint8_t extra[];
} sqfs_inode_generic_t;
+#ifdef __cplusplus
+extern "C" {
+#endif
/* Inode can be freed with a single free() call.
The function internally prints error message to stderr on failure. */
@@ -138,4 +141,8 @@ sqfs_inode_generic_t *meta_reader_read_inode(meta_reader_t *ir,
uint64_t block_start,
size_t offset);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* SQFS_INODE_H */