Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp300/dev "extern char *us_keymap" is not equivalen...
details: https://anonhg.NetBSD.org/src/rev/d1d40f7007d1
branches: trunk
changeset: 565472:d1d40f7007d1
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Apr 10 04:06:48 2004 +0000
description:
"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:
sys/arch/hp300/dev/hil.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ac179257178c -r d1d40f7007d1 sys/arch/hp300/dev/hil.c
--- a/sys/arch/hp300/dev/hil.c Sat Apr 10 04:02:29 2004 +0000
+++ b/sys/arch/hp300/dev/hil.c Sat Apr 10 04:06:48 2004 +0000
@@ -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 @@
NULL,
};
-extern char *us_keymap, *us_shiftmap, *us_ctrlmap;
+extern char us_keymap[], us_shiftmap[], us_ctrlmap[];
/*
* XXX: read keyboard directly and return code.
Home |
Main Index |
Thread Index |
Old Index