summaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2006-12-08 11:36:08 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 17:28:38 +0100
commitae424ae4b5bcd820ad6ee6f0b986c4e14ed4d6cf (patch)
treeef8bc16fc2415b50154135e3b23f8e34b9d75c86 /kernel/exit.c
parent[PATCH] do_acct_process(): don't take tty_mutex (diff)
downloadlinux-ae424ae4b5bcd820ad6ee6f0b986c4e14ed4d6cf.tar.xz
linux-ae424ae4b5bcd820ad6ee6f0b986c4e14ed4d6cf.zip
[PATCH] make set_special_pids() static
Make set_special_pids() static, the only caller is daemonize(). Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to '')
-rw-r--r--kernel/exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index fa235779b6a3..fa0495e167e9 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -314,7 +314,7 @@ void __set_special_pids(pid_t session, pid_t pgrp)
}
}
-void set_special_pids(pid_t session, pid_t pgrp)
+static void set_special_pids(pid_t session, pid_t pgrp)
{
write_lock_irq(&tasklist_lock);
__set_special_pids(session, pgrp);