minor updates
authorMiklos Szeredi <miklos@szeredi.hu>
Sat, 8 Dec 2001 20:29:20 +0000 (20:29 +0000)
committerMiklos Szeredi <miklos@szeredi.hu>
Sat, 8 Dec 2001 20:29:20 +0000 (20:29 +0000)
include/fuse.h
kernel/util.c

index 42ef8bb3fc4e5dc7e3f19f12f7d1f0db4a233b22..700569c7e353736fa21378e88db1ae052ed3fd26 100644 (file)
@@ -6,6 +6,9 @@
     See the file COPYING.
 */
 
+#ifndef _FUSE_H_
+#define _FUSE_H_
+
 /* This file defines the library interface of FUSE */
 
 #include <sys/types.h>
@@ -85,6 +88,9 @@ struct fuse_operations {
 /** Enable debuging output */
 #define FUSE_DEBUG       (1 << 1)
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /**
  * Create a new FUSE filesystem.
@@ -175,3 +181,8 @@ struct fuse_cmd *__fuse_read_cmd(struct fuse *f);
 void __fuse_process_cmd(struct fuse *f, struct fuse_cmd *cmd);
 void __fuse_loop_mt(struct fuse *f, fuse_processor_t proc, void *data);
 
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _FUSE_H_ */
index 3e8253dcaba80a8cf300b15b8ae5f67106e9c4aa..beed2719982b59921b3dd7d35ada0f67893cb1be 100644 (file)
 
 #include <linux/slab.h>
 
+MODULE_AUTHOR("Miklos Szeredi <mszeredi@inf.bme.hu>");
+MODULE_DESCRIPTION("Filesystem in Userspace");
+MODULE_LICENSE("GPL");
+
 spinlock_t fuse_lock = SPIN_LOCK_UNLOCKED;
 
 /* Must be called with the fuse lock held */