diff options
| author | tsutsui <tsutsui@NetBSD.org> | 2004-04-10 04:06:48 +0000 |
|---|---|---|
| committer | tsutsui <tsutsui@NetBSD.org> | 2004-04-10 04:06:48 +0000 |
| commit | 6052b99ae36e6e4e91ffaa8dd478b0d29026d4da (patch) | |
| tree | e54c3a287b369b52cd39a0079bb67e4ca41f4d6a /sys | |
| parent | e2b036a2e49e06e30298cfbb4ed662fea74b5c6e (diff) | |
"extern char *us_keymap" is not equivalent with "extern char us_keymap[]"
in prototype declarations.
Now hilkbdcngetc() works on "unknown" keyboards with proper default map.
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/arch/hp300/dev/hil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hp300/dev/hil.c b/sys/arch/hp300/dev/hil.c index 87f1d11aa1d..3a60b6e5bf2 100644 --- a/sys/arch/hp300/dev/hil.c +++ b/sys/arch/hp300/dev/hil.c @@ -1,4 +1,4 @@ -/* $NetBSD: hil.c,v 1.62 2004/04/09 11:55:27 tsutsui Exp $ */ +/* $NetBSD: hil.c,v 1.63 2004/04/10 04:06:48 tsutsui Exp $ */ /* * Copyright (c) 1990, 1993 @@ -77,7 +77,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: hil.c,v 1.62 2004/04/09 11:55:27 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: hil.c,v 1.63 2004/04/10 04:06:48 tsutsui Exp $"); #include "opt_compat_hpux.h" #include "ite.h" @@ -1370,7 +1370,7 @@ static struct ite_kbdops hilkbd_cn_ops = { NULL, }; -extern char *us_keymap, *us_shiftmap, *us_ctrlmap; +extern char us_keymap[], us_shiftmap[], us_ctrlmap[]; /* * XXX: read keyboard directly and return code. |
