From: Adrian Bunk <bunk@stusta.de>
To: linux-kernel@vger.kernel.org
Subject: [RFC: 2.6 patch] make kernel/signal.c:kill_proc_info()
Date: Sat, 18 Nov 2006 00:59:42 +0100 [thread overview]
Message-ID: <20061117235942.GP31879@stusta.de> (raw)
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();
reply other threads:[~2006-11-17 23:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061117235942.GP31879@stusta.de \
--to=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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