Module Name:    src
Committed By:   he
Date:           Mon Feb 21 12:33:05 UTC 2011

Modified Files:
        src/sys/dev/hil: hilkbd.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/hil/hilkbd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/hil/hilkbd.c
diff -u src/sys/dev/hil/hilkbd.c:1.2 src/sys/dev/hil/hilkbd.c:1.3
--- src/sys/dev/hil/hilkbd.c:1.2	Tue Feb 15 11:05:51 2011
+++ src/sys/dev/hil/hilkbd.c	Mon Feb 21 12:33:05 2011
@@ -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;
 

Reply via email to