diff options
author | phk <phk@FreeBSD.org> | 1995-12-14 08:32:45 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-12-14 08:32:45 +0000 |
commit | 63ec2c0ae9b44c5394bae5d6ee7fea5be9659585 (patch) | |
tree | 17b584943b186d479fdf3906ec2bef1ea2ca47bf /sys/kern/kern_sig.c | |
parent | 30e263dcabc35e19f5e060d92f09d212e9b56668 (diff) | |
download | FreeBSD-src-63ec2c0ae9b44c5394bae5d6ee7fea5be9659585.zip FreeBSD-src-63ec2c0ae9b44c5394bae5d6ee7fea5be9659585.tar.gz |
A Major staticize sweep. Generates a couple of warnings that I'll deal
with later.
A number of unused vars removed.
A number of unused procs removed or #ifdefed.
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r-- | sys/kern/kern_sig.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index bee3f8a..402e65c 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)kern_sig.c 8.7 (Berkeley) 4/18/94 - * $Id: kern_sig.c,v 1.14 1995/11/18 10:01:38 bde Exp $ + * $Id: kern_sig.c,v 1.15 1995/12/07 12:46:49 davidg Exp $ */ #define SIGPROP /* include signal properties table */ @@ -69,9 +69,11 @@ #include <vm/vm_map.h> #include <sys/user.h> /* for coredump */ -extern int killpg1 __P((struct proc *cp, int signum, int pgid, int all)); -extern void killproc __P((struct proc *p, char *why)); -extern void stop __P((struct proc *)); +static int coredump __P((struct proc *p)); +static int killpg1 __P((struct proc *cp, int signum, int pgid, int all)); +/* XXX killproc may be a supported interface, but it isn't used anywhere... */ +static void killproc __P((struct proc *p, char *why)); +static void stop __P((struct proc *)); /* * Can process p, with pcred pc, send the signal signum to process q? @@ -1188,7 +1190,7 @@ sigexit(p, signum) * Dump core, into a file named "progname.core", unless the process was * setuid/setgid. */ -int +static int coredump(p) register struct proc *p; { |