aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2003-12-15 12:11:33 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2003-12-15 12:11:33 +0000
commit2f3d940b2e5fa1c6c0b44372bd3372a20ccc71ab (patch)
treea1eedee59b49babdec8d10389e360eb60de04a8e /example
parent7a19cafc5d0fb8786a61fdadba1a6014a0396e5f (diff)
downloadandroid_external_fuse-2f3d940b2e5fa1c6c0b44372bd3372a20ccc71ab.tar.gz
android_external_fuse-2f3d940b2e5fa1c6c0b44372bd3372a20ccc71ab.tar.bz2
android_external_fuse-2f3d940b2e5fa1c6c0b44372bd3372a20ccc71ab.zip
version numbers added
Diffstat (limited to 'example')
-rw-r--r--example/fusexmp.c18
1 files changed, 13 insertions, 5 deletions
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
};