Skip to content
Snippets Groups Projects
Commit e46ebd27 authored by Tomasz Stanislawski's avatar Tomasz Stanislawski Committed by Al Viro
Browse files

anonfd: fix missing declaration


The forward declaration of struct file_operations is
added to avoid compilation warnings.

Signed-off-by: default avatarTomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 8daaa831
Branches
Tags
No related merge requests found
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
#ifndef _LINUX_ANON_INODES_H #ifndef _LINUX_ANON_INODES_H
#define _LINUX_ANON_INODES_H #define _LINUX_ANON_INODES_H
struct file_operations;
struct file *anon_inode_getfile(const char *name, struct file *anon_inode_getfile(const char *name,
const struct file_operations *fops, const struct file_operations *fops,
void *priv, int flags); void *priv, int flags);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment