aboutsummaryrefslogtreecommitdiff
path: root/example/null.c
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2004-01-13 15:33:12 +0000
committerGravatar Miklos Szeredi <miklos@szeredi.hu>2004-01-13 15:33:12 +0000
commite8663f383b9b965ea5f8b510db8eae2e918b8794 (patch)
tree60492c725cd593918892de0e2cba85e55ba8cefb /example/null.c
parent4b7abe36884cfec9870ddd81c0a3fcfd04234cdd (diff)
code cleanup
Diffstat (limited to 'example/null.c')
-rw-r--r--example/null.c26
1 files changed, 6 insertions, 20 deletions
diff --git a/example/null.c b/example/null.c
index ca79dc4..91f2cda 100644
--- a/example/null.c
+++ b/example/null.c
@@ -71,26 +71,12 @@ static int null_statfs(struct fuse_statfs *st)
}
static struct fuse_operations null_oper = {
- getattr: null_getattr,
- readlink: NULL,
- getdir: NULL,
- mknod: NULL,
- mkdir: NULL,
- symlink: NULL,
- unlink: NULL,
- rmdir: NULL,
- rename: NULL,
- link: NULL,
- chmod: NULL,
- chown: NULL,
- truncate: null_truncate,
- utime: NULL,
- open: null_open,
- read: null_read,
- write: null_write,
- statfs: null_statfs,
- release: NULL,
- fsync: NULL
+ .getattr = null_getattr,
+ .truncate = null_truncate,
+ .open = null_open,
+ .read = null_read,
+ .write = null_write,
+ .statfs = null_statfs,
};
int main(int argc, char *argv[])