subr_prf.c used to provide an exported function kprintf(), but only had
a private declaration for it. Declare the function publically instead.
This commit is contained in:
parent
80157b8981
commit
52c166da0d
@ -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 <sys/param.h>
|
||||
@ -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? */
|
||||
|
||||
|
@ -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 <machine/cpufunc.h>
|
||||
#include <machine/stdarg.h>
|
||||
|
||||
/*
|
||||
* 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));
|
||||
|
Loading…
Reference in New Issue
Block a user