* [RFC: 2.6 patch] make kernel/signal.c:kill_proc_info()
@ 2006-11-17 23:59 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-11-17 23:59 UTC (permalink / raw)
To: linux-kernel
This patch makes the needlessly global kill_proc_info() static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
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();
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-11-17 23:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-17 23:59 [RFC: 2.6 patch] make kernel/signal.c:kill_proc_info() Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome