* [PATCH] anonfd: fix missing declaration
@ 2011-07-12 9:27 Tomasz Stanislawski
0 siblings, 0 replies; only message in thread
From: Tomasz Stanislawski @ 2011-07-12 9:27 UTC (permalink / raw)
To: linux-kernel; +Cc: t.stanislaws, davidel
The forward declaration of struct file_operations is
added to avoid compilation warnings.
Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
---
include/linux/anon_inodes.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/linux/anon_inodes.h b/include/linux/anon_inodes.h
index 69a21e0..8013a45 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);
--
1.7.6
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-07-12 9:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-12 9:27 [PATCH] anonfd: fix missing declaration Tomasz Stanislawski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®