From 2f3d940b2e5fa1c6c0b44372bd3372a20ccc71ab Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Mon, 15 Dec 2003 12:11:33 +0000 Subject: version numbers added --- example/fusexmp.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'example/fusexmp.c') diff --git a/example/fusexmp.c b/example/fusexmp.c index 2b44016..0926ff8 100644 --- a/example/fusexmp.c +++ b/example/fusexmp.c @@ -250,14 +250,22 @@ static int xmp_statfs(struct fuse_statfs *fst) static int xmp_release(const char *path, int flags) { - /* just a stub here */ - return 0; + /* Just a stub. This method is optional and can safely be left + unimplemented */ + + (void) path; + (void) flags; + return 0; } static int xmp_fsync(const char *path, int isdatasync) { - /* just stub this */ - return 0; + /* Just a stub. This method is optional and can safely be left + unimplemented */ + + (void) path; + (void) isdatasync; + return 0; } static struct fuse_operations xmp_oper = { @@ -280,7 +288,7 @@ static struct fuse_operations xmp_oper = { write: xmp_write, statfs: xmp_statfs, release: xmp_release, - fsync: xmp_fsync + fsync: xmp_fsync }; -- cgit v1.2.3