]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
signal: Make kill_proc_info static
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 18 Apr 2017 03:10:04 +0000 (22:10 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Sat, 22 Apr 2017 03:46:25 +0000 (22:46 -0500)
There are no users outside of signal.c so make the function static so
the compiler and other developers have that information.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
include/linux/sched/signal.h
kernel/signal.c

index 2cf446704cd4fce8c380d36df074f8822787b2e2..c06d63b3a58389b92483bb6a0f24f427324ac000 100644 (file)
@@ -293,7 +293,6 @@ extern int kill_pid_info_as_cred(int, struct siginfo *, struct pid *,
                                const struct cred *, u32);
 extern int kill_pgrp(struct pid *pid, int sig, int priv);
 extern int kill_pid(struct pid *pid, int sig, int priv);
-extern int kill_proc_info(int, struct siginfo *, pid_t);
 extern __must_check bool do_notify_parent(struct task_struct *, int);
 extern void __wake_up_parent(struct task_struct *p, struct task_struct *parent);
 extern void force_sig(int, struct task_struct *);
index 7e59ebc2c25e669ef60f54d6e3ae6839c34d2f2a..a8c54f384553e9a588399cc0db51a7eaef76e733 100644 (file)
@@ -1318,7 +1318,7 @@ int kill_pid_info(int sig, struct siginfo *info, struct pid *pid)
        }
 }
 
-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();