From 0bae241d723167ddf8292337fe65211de9a72334 Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 14 Dec 1995 06:10:16 +0000 Subject: [PATCH] from netbsd; fix definition of nullcnpollc, and add a prototype for it --- sys/dev/cons.c | 5 +++-- 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 *)) -- 2.20.1