From fb28c5ebe1efdc3e3b125aad1a19f1a240519345 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 26 Nov 2004 12:15:06 +0000 Subject: API change --- example/null.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'example/null.c') 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; -- cgit v1.2.3