From c351f3cb48dafbda1964f33f489d09b3d5eaafb7 Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 23 Apr 1995 10:15:42 +0000 Subject: Correct the type of the `c' arg to pccnputc(). Move declarations of console functions to cons.h so that they can't be defined inconsistently in several places. They should be config(8)ed. --- sys/isa/syscons.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'sys/isa/syscons.h') diff --git a/sys/isa/syscons.h b/sys/isa/syscons.h index 9e70143..649b653 100644 --- a/sys/isa/syscons.h +++ b/sys/isa/syscons.h @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: syscons.h,v 1.4 1995/03/03 08:37:08 sos Exp $ + * $Id: syscons.h,v 1.7 1995/04/04 20:04:17 sos Exp $ */ #ifndef SYSCONS_H @@ -38,7 +38,8 @@ #define pa_to_va(pa) (KERNBASE + (pa)) /* works if ISMAPPED(pa...) */ /* printable chars */ -#define PRINTABLE(ch) ((ch)>0x1B || ((ch)>0x0d && (ch)<0x1b) || (ch)<0x07) +#define PRINTABLE(ch) ((ch) > 0x1b || ((ch) > 0x0d && (ch) < 0x1b) \ + || (ch) < 0x07) /* macros for "intelligent" screen update */ #define mark_for_update(scp, x) {\ @@ -175,11 +176,6 @@ int scparam(struct tty *tp, struct termios *t); int scioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p); void scxint(dev_t dev); void scstart(struct tty *tp); -void pccnprobe(struct consdev *cp); -void pccninit(struct consdev *cp); -void pccnputc(dev_t dev, char c); -int pccngetc(dev_t dev); -int pccncheckc(dev_t dev); void scintr(int unit); int pcmmap(dev_t dev, int offset, int nprot); static void scinit(void); -- cgit v1.1