Skip to content

Commit

Permalink
anonfd: fix missing declaration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomasz Stanislawski authored and Al Viro committed Jul 21, 2011
1 parent 8daaa83 commit e46ebd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/anon_inodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e46ebd2

Please sign in to comment.