uapi: move forward declarations of internal structures
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 2 Aug 2016 21:03:36 +0000 (14:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 2 Aug 2016 21:31:41 +0000 (17:31 -0400)
commitdb3f60012482756f46cc4d7d9ad7d793ae30360c
tree0302d9abc9b15368ba84a68d221d9c8a144b0fc0
parentbd721ea73e1f965569b40620538c942001f76294
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>
include/linux/capability.h
include/linux/sysctl.h
include/uapi/linux/capability.h
include/uapi/linux/sysctl.h