diff options
author | Alexey Dobriyan | 2016-08-02 23:03:36 +0200 |
---|---|---|
committer | Linus Torvalds | 2016-08-02 23:31:41 +0200 |
commit | db3f60012482756f46cc4d7d9ad7d793ae30360c (patch) | |
tree | 0302d9abc9b15368ba84a68d221d9c8a144b0fc0 /include/linux/sysctl.h | |
parent | treewide: replace obsolete _refok by __ref (diff) | |
download | kernel-qcow2-linux-db3f60012482756f46cc4d7d9ad7d793ae30360c.tar.gz kernel-qcow2-linux-db3f60012482756f46cc4d7d9ad7d793ae30360c.tar.xz kernel-qcow2-linux-db3f60012482756f46cc4d7d9ad7d793ae30360c.zip |
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/sysctl.h')
-rw-r--r-- | include/linux/sysctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index fa7bc29925c9..697e160c78d0 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h @@ -28,6 +28,7 @@ #include <uapi/linux/sysctl.h> /* For the /proc/sys support */ +struct completion; struct ctl_table; struct nsproxy; struct ctl_table_root; |