summaryrefslogtreecommitdiffstats
path: root/src/ntfs_utl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ntfs_utl.h')
-rw-r--r--src/ntfs_utl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ntfs_utl.h b/src/ntfs_utl.h
index 01ea0131..e02a00a8 100644
--- a/src/ntfs_utl.h
+++ b/src/ntfs_utl.h
@@ -20,7 +20,13 @@
*/
#ifdef HAVE_LIBNTFS
+#ifdef __cplusplus
+extern "C" {
+#endif
ATTR_RECORD * find_attribute(const ATTR_TYPES type, ntfs_attr_search_ctx *ctx);
ATTR_RECORD * find_first_attribute(const ATTR_TYPES type, MFT_RECORD *mft);
int utils_cluster_in_use(ntfs_volume *vol, long long lcn);
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
+#endif
#endif