diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2003-12-12 14:06:41 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2003-12-12 14:06:41 +0000 |
commit | 5e43f2c00c1ce3a9ee3ed9c2b5a9b32dabbb6e60 (patch) | |
tree | f2b700316c0ec296d18aee045fe098880602664b /example/null.c | |
parent | e4cf733e1c0a1a959f2f3c4f1951ad35da58011e (diff) |
added fsync operation
Diffstat (limited to 'example/null.c')
-rw-r--r-- | example/null.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 <time.h> #include <errno.h> -#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[]) |