fuse: fix non-ANSI void function notation
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 31 May 2011 21:09:00 +0000 (14:09 -0700)
committerMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jun 2011 14:09:32 +0000 (16:09 +0200)
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>
fs/fuse/inode.c

index cc6ec4b2f0ffed9c05959b149614a8a1e19e467d..5354906e797cc69962755b52f74698c343ae6f36 100644 (file)
@@ -71,7 +71,7 @@ struct fuse_mount_data {
        unsigned blksize;
 };
 
-struct fuse_forget_link *fuse_alloc_forget()
+struct fuse_forget_link *fuse_alloc_forget(void)
 {
        return kzalloc(sizeof(struct fuse_forget_link), GFP_KERNEL);
 }