Subject: CVS commit: src/sys/dev/hpc
To: None <source-changes@NetBSD.org>
From: Havard Eidnes <he@netbsd.org>
List: source-changes
Date: 06/08/2005 07:49:45
Module Name:	src
Committed By:	he
Date:		Wed Jun  8 07:49:45 UTC 2005

Modified Files:
	src/sys/dev/hpc: hpckbd.c

Log Message:
Add an __UNCONST() to appease -Wcast-qual.

XXX The way this is done is really wrong, as this function ends up
modifying read-only data marked with 'const'.
The reason we can get away with this is that apparently all the
ports using this code maps text and read-only data read-write.

Reviewed by christos, who suggested "a big XXX comment".


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/dev/hpc/hpckbd.c

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