diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2016-08-03 00:03:36 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-08-03 00:31:41 +0300 |
commit | db3f60012482756f46cc4d7d9ad7d793ae30360c (patch) | |
tree | 0302d9abc9b15368ba84a68d221d9c8a144b0fc0 /include/linux/capability.h | |
parent | bd721ea73e1f965569b40620538c942001f76294 (diff) | |
download | linux-db3f60012482756f46cc4d7d9ad7d793ae30360c.tar.xz |
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>
Diffstat (limited to 'include/linux/capability.h')
-rw-r--r-- | include/linux/capability.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/capability.h b/include/linux/capability.h index 5f3c63dde2d5..dbc21c719ce6 100644 --- a/include/linux/capability.h +++ b/include/linux/capability.h @@ -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; |