projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8daaa83
)
anonfd: fix missing declaration
author
Tomasz Stanislawski
<t.stanislaws@samsung.com>
Tue, 12 Jul 2011 09:27:20 +0000
(11:27 +0200)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 21 Jul 2011 00:47:43 +0000
(20:47 -0400)
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>
include/linux/anon_inodes.h
patch
|
blob
|
history
diff --git
a/include/linux/anon_inodes.h
b/include/linux/anon_inodes.h
index
69a21e0
..
8013a45
100644
(file)
--- 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);