*
* Example usage, see hello.c
*/
-static inline int
-fuse_main(int argc, char *argv[], const struct fuse_operations *op,
- void *user_data)
+static inline int fuse_main_fn(int argc, char *argv[],
+ const struct fuse_operations *op,
+ void *user_data)
{
struct libfuse_version version = {
.major = FUSE_MAJOR_VERSION,
return fuse_main_real_versioned(argc, argv, op, sizeof(*(op)), &version,
user_data);
}
+#define fuse_main(argc, argv, op, user_data) \
+ fuse_main_fn(argc, argv, op, user_data)
/* ----------------------------------------------------------- *
* More detailed API *