This patch makes the needlessly global kill_proc_info() static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
--- include/linux/sched.h | 1 - kernel/signal.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) --- linux-2.6.19-rc5-mm2/include/linux/sched.h.old 2006-11-17 19:05:35.000000000 +0100 +++ linux-2.6.19-rc5-mm2/include/linux/sched.h 2006-11-17 19:05:43.000000000 +0100 @@ -1343,7 +1343,6 @@ extern int kill_pid(struct pid *pid, int sig, int priv); extern int __kill_pg_info(int sig, struct siginfo *info, pid_t pgrp); extern int kill_pg_info(int, struct siginfo *, pid_t); -extern int kill_proc_info(int, struct siginfo *, pid_t); extern void do_notify_parent(struct task_struct *, int); extern void force_sig(int, struct task_struct *); extern void force_sig_specific(int, struct task_struct *); --- linux-2.6.19-rc5-mm2/kernel/signal.c.old 2006-11-17 19:05:51.000000000 +0100 +++ linux-2.6.19-rc5-mm2/kernel/signal.c 2006-11-17 19:06:03.000000000 +0100 @@ -1261,8 +1261,7 @@ return error; } -int -kill_proc_info(int sig, struct siginfo *info, pid_t pid) +static int kill_proc_info(int sig, struct siginfo *info, pid_t pid) { int error; rcu_read_lock(); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/