lkml.org 
[lkml]   [2006]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC: 2.6 patch] make kernel/signal.c:kill_proc_info()
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();
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-18 01:03    [W:0.023 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site