make set_special_pids() static, the only caller is daemonize().
Signed-off-by: Oleg Nesterov <[email protected]>
--- rc2-mm2/include/linux/sched.h~ssp 2006-10-22 19:28:17.000000000 +0400
+++ rc2-mm2/include/linux/sched.h 2006-10-23 18:20:04.000000000 +0400
@@ -1280,7 +1280,6 @@ extern struct mm_struct init_mm;
#define find_task_by_pid(nr) find_task_by_pid_type(PIDTYPE_PID, nr)
extern struct task_struct *find_task_by_pid_type(int type, int pid);
-extern void set_special_pids(pid_t session, pid_t pgrp);
extern void __set_special_pids(pid_t session, pid_t pgrp);
/* per-UID process charging. */
--- rc2-mm2/kernel/exit.c~ssp 2006-10-22 19:28:17.000000000 +0400
+++ rc2-mm2/kernel/exit.c 2006-10-23 18:19:39.000000000 +0400
@@ -314,7 +314,7 @@ void __set_special_pids(pid_t session, p
}
}
-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);
-
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/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]