fix definition of nullcnpollc, and add a prototype for it.
This commit is contained in:
parent
540ab1b88d
commit
523c12167c
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cons.c,v 1.27 1995/04/11 22:08:06 pk Exp $ */
|
||||
/* $NetBSD: cons.c,v 1.28 1995/11/25 00:03:35 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
@ -260,7 +260,8 @@ cnpollc(on)
|
||||
}
|
||||
|
||||
void
|
||||
nullcnpollc(on)
|
||||
nullcnpollc(dev, on)
|
||||
dev_t dev;
|
||||
int on;
|
||||
{
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cons.h,v 1.11 1995/04/24 21:34:04 gwr Exp $ */
|
||||
/* $NetBSD: cons.h,v 1.12 1995/11/25 00:03:41 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
@ -80,6 +80,7 @@ int cnioctl __P((dev_t, u_long, caddr_t, int, struct proc *));
|
||||
int cnselect __P((dev_t, int, struct proc *));
|
||||
int cngetc __P((void));
|
||||
int cnputc __P((int));
|
||||
void nullcnpollc __P((dev_t, int));
|
||||
|
||||
/* console-specific types */
|
||||
#define dev_type_cnprobe(n) void n __P((struct consdev *))
|
||||
|
Loading…
x
Reference in New Issue
Block a user