diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-06 01:36:44 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 10:41:02 -0800 |
commit | f17d30a803e8434c4ef381bb5cfa1956ff0201f0 (patch) | |
tree | 42f71e13e01c0d142a30489031797d3d0ecf1ef9 /kernel | |
parent | a1c9eea9e56a7196c6891f6426b799c4598b38e2 (diff) | |
download | lwn-f17d30a803e8434c4ef381bb5cfa1956ff0201f0.tar.gz lwn-f17d30a803e8434c4ef381bb5cfa1956ff0201f0.zip |
kernel/ptrace.c should #include <linux/syscalls.h>
Every file should include the headers containing the prototypes for its global
functions (in this case sys_ptrace()).
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/ptrace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/ptrace.c b/kernel/ptrace.c index 74730e0c1be1..628b03ab88a5 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c @@ -20,6 +20,7 @@ #include <linux/signal.h> #include <linux/audit.h> #include <linux/pid_namespace.h> +#include <linux/syscalls.h> #include <asm/pgtable.h> #include <asm/uaccess.h> |