*/
#define FUSE_USE_VERSION 26
+#include <exfat.h>
#include <fuse.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <exfat.h>
#include <inttypes.h>
#include <limits.h>
#include <sys/types.h>
return options;
}
-int main(int argc, char* argv[])
+int mount_exfat_main(int argc, char* argv[])
{
struct fuse_args mount_args = FUSE_ARGS_INIT(0, NULL);
struct fuse_args newfs_args = FUSE_ARGS_INIT(0, NULL);
}
/* go to background (unless "-d" option is passed) and run FUSE
- main loop */
+ main loop */
if (fuse_daemonize(debug) == 0)
{
if (fuse_loop(fh) != 0)