From 3320e0727b4b1be21cbd6e356356335f2766555e Mon Sep 17 00:00:00 2001 From: drochner Date: Fri, 26 Jun 1998 21:12:49 +0000 Subject: [PATCH] add dummy character mapping function --- sys/dev/wscons/wscons_raster.h | 3 ++- sys/dev/wscons/wscons_rops.c | 12 +++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/sys/dev/wscons/wscons_raster.h b/sys/dev/wscons/wscons_raster.h index cc3447ef250b..49d18c460563 100644 --- a/sys/dev/wscons/wscons_raster.h +++ b/sys/dev/wscons/wscons_raster.h @@ -1,4 +1,4 @@ -/* $NetBSD: wscons_raster.h,v 1.3 1998/06/20 21:52:49 drochner Exp $ */ +/* $NetBSD: wscons_raster.h,v 1.4 1998/06/26 21:12:49 drochner Exp $ */ /* * Copyright (c) 1992, 1993 @@ -85,6 +85,7 @@ void rcons_init __P((struct rcons *rc, int mrow, int mcol)); /* Console emulation interface functions. See ansicons.h for more info. */ void rcons_cursor __P((void *, int, int, int)); void rcons_invert __P((void *, int)); +unsigned int rcons_mapchar __P((void *, int)); void rcons_putchar __P((void *, int, int, u_int, long)); void rcons_copycols __P((void *, int, int, int, int)); void rcons_erasecols __P((void *, int, int, int, long)); diff --git a/sys/dev/wscons/wscons_rops.c b/sys/dev/wscons/wscons_rops.c index 314124511259..c18db3de2a25 100644 --- a/sys/dev/wscons/wscons_rops.c +++ b/sys/dev/wscons/wscons_rops.c @@ -1,4 +1,4 @@ -/* $NetBSD: wscons_rops.c,v 1.3 1998/06/20 21:52:50 drochner Exp $ */ +/* $NetBSD: wscons_rops.c,v 1.4 1998/06/26 21:12:49 drochner Exp $ */ /* * Copyright (c) 1991, 1993 @@ -94,6 +94,16 @@ rcons_cursor(id, on, row, col) rc->rc_bits ^= RC_CURSOR; } +unsigned int +rcons_mapchar(id, uni) + void *id; + int uni; +{ + if (uni < 128) + return (uni); + return (0); +} + /* * Actually write a string to the frame buffer. */