fix
authorMiklos Szeredi <miklos@szeredi.hu>
Mon, 10 Oct 2005 08:41:14 +0000 (08:41 +0000)
committerMiklos Szeredi <miklos@szeredi.hu>
Mon, 10 Oct 2005 08:41:14 +0000 (08:41 +0000)
ChangeLog
include/fuse_common.h

index 76e66e8ef110cddfc054db97234a5ea34feaa542..b9a2ab18f21173f9e19e06427af42e7cec8f7f3b 100644 (file)
--- 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
index 1cfbaf36ef404eb19448c8a688c4be9535c398d0..ef7e85a7f9e0b10eed862e82daebea3a08e362e1 100644 (file)
 #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_ */