Skip to content

Commit

Permalink
fuse: fix non-ANSI void function notation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Miklos Szeredi committed Jun 1, 2011
1 parent 55922c9 commit a2daff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/fuse/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a2daff6

Please sign in to comment.