summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTomasz Stanislawski <t.stanislaws@samsung.com>2011-07-12 13:27:20 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-21 04:47:43 +0400
commite46ebd27823b27273da780376d54c080250ff1a2 (patch)
treecbc3b65326f1fe006284869bd180481fa195340c /include/linux
parent8daaa83145ef1f0a146680618328dbbd0fa76939 (diff)
downloadlinux-e46ebd27823b27273da780376d54c080250ff1a2.tar.xz
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>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/anon_inodes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/anon_inodes.h b/include/linux/anon_inodes.h
index 69a21e0ebd33..8013a45242fe 100644
--- a/include/linux/anon_inodes.h
+++ b/include/linux/anon_inodes.h
@@ -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);