add dummy character mapping function
This commit is contained in:
parent
9260b705a5
commit
3320e0727b
|
@ -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));
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue