aboutsummaryrefslogtreecommitdiffstats
path: root/example/hello.c
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2004-01-13 15:33:12 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2004-01-13 15:33:12 +0000
commite8663f383b9b965ea5f8b510db8eae2e918b8794 (patch)
tree60492c725cd593918892de0e2cba85e55ba8cefb /example/hello.c
parent4b7abe36884cfec9870ddd81c0a3fcfd04234cdd (diff)
downloadlibfuse-e8663f383b9b965ea5f8b510db8eae2e918b8794.tar.gz
code cleanup
Diffstat (limited to 'example/hello.c')
-rw-r--r--example/hello.c24
1 files changed, 4 insertions, 20 deletions
diff --git a/example/hello.c b/example/hello.c
index 6b461d0..7466b9f 100644
--- a/example/hello.c
+++ b/example/hello.c
@@ -68,26 +68,10 @@ static int hello_read(const char *path, char *buf, size_t size, off_t offset)
}
static struct fuse_operations hello_oper = {
- getattr: hello_getattr,
- readlink: NULL,
- getdir: hello_getdir,
- mknod: NULL,
- mkdir: NULL,
- symlink: NULL,
- unlink: NULL,
- rmdir: NULL,
- rename: NULL,
- link: NULL,
- chmod: NULL,
- chown: NULL,
- truncate: NULL,
- utime: NULL,
- open: hello_open,
- read: hello_read,
- write: NULL,
- statfs: NULL,
- release: NULL,
- fsync: NULL
+ .getattr = hello_getattr,
+ .getdir = hello_getdir,
+ .open = hello_open,
+ .read = hello_read,
};
int main(int argc, char *argv[])