[<prev] [next>] [day] [month] [year] [list]
Message-id: <1310462840-20462-1-git-send-email-t.stanislaws@samsung.com>
Date: Tue, 12 Jul 2011 11:27:20 +0200
From: Tomasz Stanislawski <t.stanislaws@...sung.com>
To: linux-kernel@...r.kernel.org
Cc: t.stanislaws@...sung.com, davidel@...ilserver.org
Subject: [PATCH] anonfd: fix missing declaration
The forward declaration of struct file_operations is
added to avoid compilation warnings.
Signed-off-by: Tomasz Stanislawski <t.stanislaws@...sung.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists