提交 e46ebd27 编写于 作者: T Tomasz Stanislawski 提交者: Al Viro

anonfd: fix missing declaration

The forward declaration of struct file_operations is
added to avoid compilation warnings.
Signed-off-by: NTomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 8daaa831
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册