Source-Changes archive

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

CVS commit: src/sys/dev/hpc



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.




Home | Main Index | Thread Index | Old Index