diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-04-15 13:36:34 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-04-15 13:36:34 +0200 |
commit | 9aad0ed8c52b517da4f16b167a9e8926bb5d08be (patch) | |
tree | 4053195b18ec5bdf0ee5b2cf46c03762825ab97c | |
parent | 2538692a8d6d7be883e15138aeb33124e39f6f3e (diff) |
Provide a fuse_main function
To fix fuse detection in various configure.ac application scripts.
* src/main.c (fuse_main): New function
-rw-r--r-- | src/main.c | 8 |
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. |