summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Cambus <fcambus@cvs.openbsd.org>2017-05-30 08:24:57 +0000
committerFrederic Cambus <fcambus@cvs.openbsd.org>2017-05-30 08:24:57 +0000
commit64cfec72dead0d24d06bab4d487536d155a102bd (patch)
tree884b9eba34b46e97ac3d0f5b7a6edba543a4e270
parent02421c165167efc2edf019a595fac71acca0ebcc (diff)
Remove the unused pcdisplay_mapchar_simple function in pcdisplay(4).
It has been unused since this code was imported from NetBSD. OK mlarkin@
-rw-r--r--sys/dev/ic/pcdisplay_subr.c13
-rw-r--r--sys/dev/ic/pcdisplayvar.h5
2 files changed, 2 insertions, 16 deletions
diff --git a/sys/dev/ic/pcdisplay_subr.c b/sys/dev/ic/pcdisplay_subr.c
index fe7f1189443..730f994692e 100644
--- a/sys/dev/ic/pcdisplay_subr.c
+++ b/sys/dev/ic/pcdisplay_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcdisplay_subr.c,v 1.11 2011/04/11 19:11:01 matthew Exp $ */
+/* $OpenBSD: pcdisplay_subr.c,v 1.12 2017/05/30 08:24:56 fcambus Exp $ */
/* $NetBSD: pcdisplay_subr.c,v 1.16 2000/06/08 07:01:19 cgd Exp $ */
/*
@@ -144,17 +144,6 @@ done:
#endif /* PCDISPLAY_SOFTCURSOR */
}
-#if 0
-unsigned int
-pcdisplay_mapchar_simple(void *id, int uni)
-{
- if (uni < 128)
- return (uni);
-
- return (1); /* XXX ??? smiley */
-}
-#endif
-
int
pcdisplay_putchar(void *id, int row, int col, u_int c, long attr)
{
diff --git a/sys/dev/ic/pcdisplayvar.h b/sys/dev/ic/pcdisplayvar.h
index 53ef95da600..c2d0b091163 100644
--- a/sys/dev/ic/pcdisplayvar.h
+++ b/sys/dev/ic/pcdisplayvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcdisplayvar.h,v 1.11 2010/08/28 12:48:14 miod Exp $ */
+/* $OpenBSD: pcdisplayvar.h,v 1.12 2017/05/30 08:24:56 fcambus Exp $ */
/* $NetBSD: pcdisplayvar.h,v 1.8 2000/01/25 02:44:03 ad Exp $ */
/*
@@ -76,9 +76,6 @@ _pcdisplay_6845_write(struct pcdisplay_handle *ph, int reg, u_int8_t val)
void pcdisplay_cursor_init(struct pcdisplayscreen *, int);
void pcdisplay_cursor_reset(struct pcdisplayscreen *);
int pcdisplay_cursor(void *, int, int, int);
-#if 0
-unsigned int pcdisplay_mapchar_simple(void *, int);
-#endif
int pcdisplay_mapchar(void *, int, unsigned int *);
int pcdisplay_putchar(void *, int, int, u_int, long);
struct wsdisplay_charcell;