diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 06:10:17 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 06:10:17 +0000 |
commit | 8243cdb8efad3683da8c36946b228f9bbba8c944 (patch) | |
tree | d291ec93865a49ea08806a91a5cf73bcc79b863c /sys/dev | |
parent | 69b739f818e82f52178ebe2d7adc465c5ebc9e76 (diff) |
from netbsd; fix definition of nullcnpollc, and add a prototype for it
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/cons.c | 5 | ||||
-rw-r--r-- | sys/dev/cons.h | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/cons.c b/sys/dev/cons.c index a3bc7192eaa..ba39691c29e 100644 --- a/sys/dev/cons.c +++ b/sys/dev/cons.c @@ -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; { diff --git a/sys/dev/cons.h b/sys/dev/cons.h index c79040e91a9..5ff2b7776c1 100644 --- a/sys/dev/cons.h +++ b/sys/dev/cons.h @@ -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 *)) |