diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2011-05-31 17:09:00 -0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2011-06-01 10:09:32 -0400 |
commit | a2daff6803a384ce065e3681a2affea1da59c5f5 (patch) | |
tree | bd21bf2592cd95b1e3e83a927a25eed6ca3ea2ad /fs/fuse | |
parent | 55922c9d1b84b89cb946c777fddccb3247e7df2c (diff) |
fuse: fix non-ANSI void function notation
Fix void function parameter list sparse warning:
fs/fuse/inode.c:74:44: warning: non-ANSI function declaration of function 'fuse_alloc_forget'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse')
-rw-r--r-- | fs/fuse/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index cc6ec4b2f0ff..5354906e797c 100644 --- a/fs/fuse/inode.c +++ b/fs/fuse/inode.c | |||
@@ -71,7 +71,7 @@ struct fuse_mount_data { | |||
71 | unsigned blksize; | 71 | unsigned blksize; |
72 | }; | 72 | }; |
73 | 73 | ||
74 | struct fuse_forget_link *fuse_alloc_forget() | 74 | struct fuse_forget_link *fuse_alloc_forget(void) |
75 | { | 75 | { |
76 | return kzalloc(sizeof(struct fuse_forget_link), GFP_KERNEL); | 76 | return kzalloc(sizeof(struct fuse_forget_link), GFP_KERNEL); |
77 | } | 77 | } |