mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
anonfd: fix missing declaration
The forward declaration of struct file_operations is added to avoid compilation warnings. Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
8daaa83145
commit
e46ebd2782
@ -8,6 +8,8 @@
|
||||
#ifndef _LINUX_ANON_INODES_H
|
||||
#define _LINUX_ANON_INODES_H
|
||||
|
||||
struct file_operations;
|
||||
|
||||
struct file *anon_inode_getfile(const char *name,
|
||||
const struct file_operations *fops,
|
||||
void *priv, int flags);
|
||||
|
Loading…
Reference in New Issue
Block a user