summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>2001-03-08 07:42:21 +0000
committerMats O Jansson <maja@cvs.openbsd.org>2001-03-08 07:42:21 +0000
commit536f4f2c9f9dcd565101958ebdf142892f46ff42 (patch)
treef8ad707fcdd4c5a1c0b674cae50ec56a5f679c37
parent8af095dfb6ac9de739b77218162ef9872226e505 (diff)
Make struct wscons_keydesc public. To make it possible for kbd(1) to
list known encodings. -moj ok @aaron
-rw-r--r--sys/dev/wscons/wsksymvar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wscons/wsksymvar.h b/sys/dev/wscons/wsksymvar.h
index fe9ff330ab2..90dd46fb314 100644
--- a/sys/dev/wscons/wsksymvar.h
+++ b/sys/dev/wscons/wsksymvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsksymvar.h,v 1.2 2000/08/01 13:51:18 mickey Exp $ */
+/* $OpenBSD: wsksymvar.h,v 1.3 2001/03/08 07:42:20 maja Exp $ */
/* $NetBSD: wsksymvar.h,v 1.8.4.1 2000/07/07 09:50:21 hannken Exp $ */
/*-
@@ -53,7 +53,6 @@ struct wscons_keymap {
keysym_t group2[2];
};
-#ifdef _KERNEL
struct wscons_keydesc {
kbd_t name; /* name of this map */
kbd_t base; /* map this one is based on */
@@ -61,6 +60,7 @@ struct wscons_keydesc {
const keysym_t *map; /* the map itself */
};
+#ifdef _KERNEL
struct wskbd_mapdata {
const struct wscons_keydesc *keydesc;
kbd_t layout;