summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index a56d5fbfe..923bc3dd7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -287,6 +287,14 @@ fuse_main_real(int argc, char *argv[], const struct fuse_operations *op,
(fuse_new(fd, NULL, op, op_size));
}
+#undef fuse_main
+int fuse_main(void);
+int fuse_main(void)
+{
+ fprintf(stderr, "fuse_main is supposed to be used via the macro, not the symbol\n");
+ return -1;
+}
+
/* Create a new FUSE filesystem, actually there's nothing for us to do
* on the Hurd.