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/subr_prf.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/subr_prf.c')
-rw-r--r-- | sys/kern/subr_prf.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index 836ea8c..83e6f09 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)subr_prf.c 8.3 (Berkeley) 1/21/94 - * $Id: subr_prf.c,v 1.17 1995/08/07 08:40:49 davidg Exp $ + * $Id: subr_prf.c,v 1.18 1995/08/24 12:54:11 davidg Exp $ */ #include <sys/param.h> @@ -68,13 +68,13 @@ struct tty *constty; /* pointer to console "window" tty */ -void (*v_putc)(int) = cnputc; /* routine to putc on virtual console */ +static void (*v_putc)(int) = cnputc; /* routine to putc on virtual console */ -void logpri __P((int level)); +static void logpri __P((int level)); static void putchar __P((int ch, int flags, struct tty *tp)); static char *ksprintn __P((u_long num, int base, int *len)); -int consintr = 1; /* Ok to handle console interrupts? */ +static int consintr = 1; /* Ok to handle console interrupts? */ /* * Variable panicstr contains argument to first call to panic; used as flag @@ -262,7 +262,7 @@ log(level, fmt, va_alist) logwakeup(); } -void +static void logpri(level) int level; { |