Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/hil Since hilkbd_rawrepeat() is only defined under W...



details:   https://anonhg.NetBSD.org/src/rev/29b5b2ef7717
branches:  trunk
changeset: 762464:29b5b2ef7717
user:      he <he%NetBSD.org@localhost>
date:      Mon Feb 21 12:33:05 2011 +0000

description:
Since hilkbd_rawrepeat() is only defined under WSDISPLAY_COMPAT_RAWKBD,
protect the declaration similarly to avoid build failure of the INSTALL
kernel.

diffstat:

 sys/dev/hil/hilkbd.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 7f229ab163c7 -r 29b5b2ef7717 sys/dev/hil/hilkbd.c
--- a/sys/dev/hil/hilkbd.c      Mon Feb 21 11:33:36 2011 +0000
+++ b/sys/dev/hil/hilkbd.c      Mon Feb 21 12:33:05 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hilkbd.c,v 1.2 2011/02/15 11:05:51 tsutsui Exp $       */
+/*     $NetBSD: hilkbd.c,v 1.3 2011/02/21 12:33:05 he Exp $    */
 /*     $OpenBSD: hilkbd.c,v 1.14 2009/01/21 21:53:59 grange Exp $      */
 /*
  * Copyright (c) 2003, Miodrag Vallat.
@@ -122,7 +122,9 @@
 static void    hilkbd_decode(struct hilkbd_softc *, uint8_t, u_int *, int *,
                    int);
 static int     hilkbd_is_console(int);
+#ifdef WSDISPLAY_COMPAT_RAWKBD
 static void    hilkbd_rawrepeat(void *);
+#endif
 
 static int     seen_hilkbd_console;
 



Home | Main Index | Thread Index | Old Index