diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-01 16:40:00 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-09-01 16:40:00 +0000 |
commit | 3e1fc6e38ffdd75256a745b42321b0e6b516979a (patch) | |
tree | 5aaf77f2d9a69fa4168953632e82fedd837022d3 /sys/arch/i386/isa/pccons.c | |
parent | 4f427464f8448fd439e17fc9e4ecc8a1f8c2c93c (diff) |
change keymap_t to pccons_keymap_t in pccons
Diffstat (limited to 'sys/arch/i386/isa/pccons.c')
-rw-r--r-- | sys/arch/i386/isa/pccons.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/i386/isa/pccons.c b/sys/arch/i386/isa/pccons.c index b01bc94d848..9bc45f0fe0d 100644 --- a/sys/arch/i386/isa/pccons.c +++ b/sys/arch/i386/isa/pccons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pccons.c,v 1.25 1996/08/29 09:26:08 deraadt Exp $ */ +/* $OpenBSD: pccons.c,v 1.26 1996/09/01 16:39:59 deraadt Exp $ */ /* $NetBSD: pccons.c,v 1.99.4.1 1996/06/04 20:03:53 cgd Exp $ */ /*- @@ -97,7 +97,7 @@ static u_char lock_state = 0x00, /* all off */ old_typematic_rate = 0xff; static u_short cursor_shape = 0xffff, /* don't update until set by user */ old_cursor_shape = 0xffff; -static keymap_t scan_codes[KB_NUM_KEYS];/* keyboard translation table */ +static pccons_keymap_t scan_codes[KB_NUM_KEYS];/* keyboard translation table */ #ifdef XSERVER int pc_xmode = 0; #endif @@ -705,7 +705,7 @@ pcioctl(dev, cmd, data, flag, p) return 0; } case CONSOLE_SET_KEYMAP: { - keymap_t *map = (keymap_t *) data; + pccons_keymap_t *map = (pccons_keymap_t *) data; int i; if (!data) @@ -718,13 +718,13 @@ pcioctl(dev, cmd, data, flag, p) map[i].shift_altgr[KB_CODE_SIZE-1]) return EINVAL; - bcopy(data,scan_codes,sizeof(keymap_t[KB_NUM_KEYS])); + bcopy(data, scan_codes, sizeof(pccons_keymap_t[KB_NUM_KEYS])); return 0; } case CONSOLE_GET_KEYMAP: if (!data) return EINVAL; - bcopy(scan_codes,data,sizeof(keymap_t[KB_NUM_KEYS])); + bcopy(scan_codes, data, sizeof(pccons_keymap_t[KB_NUM_KEYS])); return 0; default: return ENOTTY; @@ -1441,7 +1441,7 @@ sput(cp, n) async_update(); } -static keymap_t scan_codes[KB_NUM_KEYS] = { +static pccons_keymap_t scan_codes[KB_NUM_KEYS] = { /* type unshift shift control altgr shift_altgr scancode */ KB_NONE, "", "", "", "", "", /* 0 unused */ KB_ASCII, "\033", "\033", "\033", "", "", /* 1 ESCape */ |