Subject: CVS commit: src/sys/dev/usb
To: None <source-changes@NetBSD.org>
From: Jonathan Stone <jonathan@netbsd.org>
List: source-changes
Date: 05/03/2005 18:37:47
Module Name:	src
Committed By:	jonathan
Date:		Tue May  3 18:37:47 UTC 2005

Modified Files:
	src/sys/dev/usb: ukbd.c

Log Message:
Fix ifdef botch in previous revision:

The `Static' forward declaration of ukbd_rawrepeat was inside #ifdef
UKBD_REPEAT but not #ifdef DISPLAY_COMPAT_RAWCKBD. The definition and
all other references are inside both #ifdefs.  The `static' function
declaration with no definition failed GCC warnings.

Pass GCC warnings by wrapping  the declaration with a check that both
CPP tokens are defined.


To generate a diff of this commit:
cvs rdiff -r1.87 -r1.88 src/sys/dev/usb/ukbd.c

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