summaryrefslogtreecommitdiff
path: root/include/uapi/linux/sysctl.h
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2016-08-03 00:03:36 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2016-08-03 00:31:41 +0300
commitdb3f60012482756f46cc4d7d9ad7d793ae30360c (patch)
tree0302d9abc9b15368ba84a68d221d9c8a144b0fc0 /include/uapi/linux/sysctl.h
parentbd721ea73e1f965569b40620538c942001f76294 (diff)
downloadlinux-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/uapi/linux/sysctl.h')
-rw-r--r--include/uapi/linux/sysctl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/uapi/linux/sysctl.h b/include/uapi/linux/sysctl.h
index 0956373b56db..d2b12152e358 100644
--- a/include/uapi/linux/sysctl.h
+++ b/include/uapi/linux/sysctl.h
@@ -26,8 +26,6 @@
#include <linux/types.h>
#include <linux/compiler.h>
-struct completion;
-
#define CTL_MAXNAME 10 /* how many path components do we allow in a
call to sysctl? In other words, what is
the largest acceptable value for the nlen