uapi: move forward declarations of internal structures
Don't user forward declarations of internal kernel structures in headers exported to userspace. Move "struct completion;". Move "struct task_struct;". Link: http://lkml.kernel.org/r/20160713215808.GA22486@p183.telecom.by Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
bd721ea73e
commit
db3f600124
@@ -38,6 +38,7 @@ struct cpu_vfs_cap_data {
|
||||
struct file;
|
||||
struct inode;
|
||||
struct dentry;
|
||||
struct task_struct;
|
||||
struct user_namespace;
|
||||
|
||||
extern const kernel_cap_t __cap_empty_set;
|
||||
|
Reference in New Issue
Block a user