aboutsummaryrefslogtreecommitdiff
path: root/example/null.c
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2004-11-26 12:15:06 +0000
committerGravatar Miklos Szeredi <miklos@szeredi.hu>2004-11-26 12:15:06 +0000
commitfb28c5ebe1efdc3e3b125aad1a19f1a240519345 (patch)
treecfe63db63bc515c36886dad956ee8c171167d496 /example/null.c
parent97de5118b5c240063f634e9fa41998dc72708b56 (diff)
API change
Diffstat (limited to 'example/null.c')
-rw-r--r--example/null.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/example/null.c b/example/null.c
index b854289..fd88a05 100644
--- a/example/null.c
+++ b/example/null.c
@@ -38,7 +38,7 @@ static int null_truncate(const char *path, off_t UNUSED(size))
return 0;
}
-static int null_open(const char *path, int UNUSED(flags))
+static int null_open(const char *path, struct fuse_file_info *UNUSED(fi))
{
if(strcmp(path, "/") != 0)
return -ENOENT;
@@ -47,7 +47,7 @@ static int null_open(const char *path, int UNUSED(flags))
}
static int null_read(const char *path, char *UNUSED(buf), size_t size,
- off_t UNUSED(offset))
+ off_t UNUSED(offset), struct fuse_file_info *UNUSED(fi))
{
if(strcmp(path, "/") != 0)
return -ENOENT;
@@ -56,7 +56,7 @@ static int null_read(const char *path, char *UNUSED(buf), size_t size,
}
static int null_write(const char *path, const char *UNUSED(buf), size_t size,
- off_t UNUSED(offset))
+ off_t UNUSED(offset), struct fuse_file_info *UNUSED(fi))
{
if(strcmp(path, "/") != 0)
return -ENOENT;