projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1c9eea
)
kernel/ptrace.c should #include <linux/syscalls.h>
author
Adrian Bunk
<bunk@kernel.org>
Wed, 6 Feb 2008 09:36:44 +0000
(
01:36
-0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:02 +0000
(10:41 -0800)
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>
kernel/ptrace.c
patch
|
blob
|
history
diff --git
a/kernel/ptrace.c
b/kernel/ptrace.c
index
74730e0
..
628b03a
100644
(file)
--- 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>