From 5e43f2c00c1ce3a9ee3ed9c2b5a9b32dabbb6e60 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 12 Dec 2003 14:06:41 +0000 Subject: added fsync operation --- example/null.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'example/null.c') diff --git a/example/null.c b/example/null.c index b712b5c..ca79dc4 100644 --- a/example/null.c +++ b/example/null.c @@ -12,7 +12,7 @@ #include #include -#define UNUSED __attribute__((unused)) +#define UNUSED(x) x __attribute__((unused)) static int null_getattr(const char *path, struct stat *stbuf) { @@ -89,7 +89,8 @@ static struct fuse_operations null_oper = { read: null_read, write: null_write, statfs: null_statfs, - release: NULL + release: NULL, + fsync: NULL }; int main(int argc, char *argv[]) -- cgit v1.2.3