summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-10-10 08:41:14 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2005-10-10 08:41:14 +0000
commitbaab587c6d733d8dfbbbe42d9e7187542af434d5 (patch)
treece22138a3cb04e44889f51aeac6b50930892c101
parent4f5df5eb96153534fb1592dec920f4a8e1c806f4 (diff)
downloadfuse-baab587c6d733d8dfbbbe42d9e7187542af434d5.tar.gz
fix
-rw-r--r--ChangeLog5
-rw-r--r--include/fuse_common.h8
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 76e66e8..b9a2ab1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-10 Miklos Szeredi <miklos@szeredi.hu>
+
+ * fuse_common.h: use extern "C". Thanks to Valient Gough for the
+ patch
+
2005-10-07 Miklos Szeredi <miklos@szeredi.hu>
* highlevel-lib: init() and destroy() methods didn't have an
diff --git a/include/fuse_common.h b/include/fuse_common.h
index 1cfbaf3..ef7e85a 100644
--- a/include/fuse_common.h
+++ b/include/fuse_common.h
@@ -31,6 +31,10 @@
#error Please add -D_FILE_OFFSET_BITS=64 to your compile flags!
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** Information about open files */
struct fuse_file_info {
/** Open flags. Available in open() and release() */
@@ -72,4 +76,8 @@ int fuse_mount(const char *mountpoint, const char *opts);
*/
void fuse_unmount(const char *mountpoint);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _FUSE_COMMON_H_ */