From 1c0c97a80b66beb80a344489aaf9902decdb341f Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 1 Apr 1995 20:19:00 +0000 Subject: [PATCH] subr_prf.c used to provide an exported function kprintf(), but only had a private declaration for it. Declare the function publically instead. --- sys/kern/subr_prf.c | 3 +-- sys/sys/systm.h | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index d9ed51da1ff5..8e57985acb7f 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.10 1995/02/19 15:02:26 bde Exp $ + * $Id: subr_prf.c,v 1.11 1995/03/16 18:12:40 bde Exp $ */ #include @@ -76,7 +76,6 @@ int (*v_putc)() = cnputc; /* routine to putc on virtual console */ 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)); -void kprintf __P((const char *fmt, int flags, struct tty *tp, va_list ap)); int consintr = 1; /* Ok to handle console interrupts? */ diff --git a/sys/sys/systm.h b/sys/sys/systm.h index ad6f608b7a99..fa2533217709 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -36,13 +36,14 @@ * SUCH DAMAGE. * * @(#)systm.h 8.4 (Berkeley) 2/23/94 - * $Id: systm.h,v 1.16 1995/03/17 06:15:26 phk Exp $ + * $Id: systm.h,v 1.17 1995/03/28 07:57:37 bde Exp $ */ #ifndef _SYS_SYSTM_H_ #define _SYS_SYSTM_H_ #include +#include /* * The `securelevel' variable controls the security level of the system. @@ -122,6 +123,7 @@ void printf __P((const char *, ...)); void uprintf __P((const char *, ...)); int sprintf __P((char *buf, const char *, ...)); void ttyprintf __P((struct tty *, const char *, ...)); +void kprintf __P((const char *fmt, int flags, struct tty *tp, va_list ap)); void bcopy __P((const void *from, void *to, u_int len)); void ovbcopy __P((const void *from, void *to, u_int len));