diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 1995-04-08 21:32:11 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 1995-04-08 21:32:11 +0000 |
| commit | 4fb0b0de3e05eb12a93fbdcf6ea1b95900230216 (patch) | |
| tree | 39d4529134d7e712accc4219cbd917de8336bcb9 /sys/kern/subr_prf.c | |
| parent | 60ca0bff597973b346a5c4b61f28b233f77fc6e7 (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_prf.c')
| -rw-r--r-- | sys/kern/subr_prf.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index 8e57985acb7f..cc52cbbf639e 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.11 1995/03/16 18:12:40 bde Exp $ + * $Id: subr_prf.c,v 1.12 1995/04/01 20:18:43 joerg Exp $ */ #include <sys/param.h> @@ -53,6 +53,7 @@ #include <sys/tprintf.h> #include <sys/syslog.h> #include <sys/malloc.h> +#include <machine/cons.h> /* * Note that stdarg.h and the ANSI style va_start macro is used for both @@ -64,14 +65,14 @@ #include <machine/kdbparam.h> #endif + #define TOCONS 0x01 #define TOTTY 0x02 #define TOLOG 0x04 struct tty *constty; /* pointer to console "window" tty */ -extern cnputc(); /* standard console putc */ -int (*v_putc)() = cnputc; /* routine to putc on virtual console */ +void (*v_putc)(int) = cnputc; /* routine to putc on virtual console */ void logpri __P((int level)); static void putchar __P((int ch, int flags, struct tty *tp)); |
