diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-06 23:38:22 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:39 -0500 |
commit | d3228a887cae75ef2b8b1211c31c539bef5a5698 (patch) | |
tree | 05e8fcc5fd433a7c7a99b46985a6075c121c1248 | |
parent | ebe7e5fe4b41deeb2731c5b52d8c8e6ac08b1f74 (diff) |
[PATCH] make kernel/signal.c:kill_proc_info() static
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | include/linux/sched.h | 1 | ||||
-rw-r--r-- | kernel/signal.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 0a90cefb0b0d..3a767242e72f 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1305,7 +1305,6 @@ extern int kill_pgrp(struct pid *pid, int sig, int priv); | |||
1305 | extern int kill_pid(struct pid *pid, int sig, int priv); | 1305 | extern int kill_pid(struct pid *pid, int sig, int priv); |
1306 | extern int __kill_pg_info(int sig, struct siginfo *info, pid_t pgrp); | 1306 | extern int __kill_pg_info(int sig, struct siginfo *info, pid_t pgrp); |
1307 | extern int kill_pg_info(int, struct siginfo *, pid_t); | 1307 | extern int kill_pg_info(int, struct siginfo *, pid_t); |
1308 | extern int kill_proc_info(int, struct siginfo *, pid_t); | ||
1309 | extern void do_notify_parent(struct task_struct *, int); | 1308 | extern void do_notify_parent(struct task_struct *, int); |
1310 | extern void force_sig(int, struct task_struct *); | 1309 | extern void force_sig(int, struct task_struct *); |
1311 | extern void force_sig_specific(int, struct task_struct *); | 1310 | extern void force_sig_specific(int, struct task_struct *); |
diff --git a/kernel/signal.c b/kernel/signal.c index bc972d7e6319..ec81defde339 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -1134,8 +1134,7 @@ int kill_pid_info(int sig, struct siginfo *info, struct pid *pid) | |||
1134 | return error; | 1134 | return error; |
1135 | } | 1135 | } |
1136 | 1136 | ||
1137 | int | 1137 | static int kill_proc_info(int sig, struct siginfo *info, pid_t pid) |
1138 | kill_proc_info(int sig, struct siginfo *info, pid_t pid) | ||
1139 | { | 1138 | { |
1140 | int error; | 1139 | int error; |
1141 | rcu_read_lock(); | 1140 | rcu_read_lock(); |