Subject: sysctl patches for -Wcast-qual
To: None <tech-kern@netbsd.org, atatat@netbsd.org>
From: David Young <dyoung@pobox.com>
List: tech-kern
Date: 06/08/2005 11:26:00
I have quieted a bunch of -Wcast-qual complaints on sysctl uses.  I made
SYSCTLFN_CALL(node) cast `node' to const.  I added SYSCTLFN_RWCALL(node)
to set up a call to sysctl_lookup, whose `rnode' argument is not const.
Barring any objections, I will commit this in a few hours.

(Sorry, patches to stop variable shadowing in rtw(4) are inter-mixed.)

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933