Re: make sbcreatecontrol take void * instead of caddr_t

2019-02-13 Thread Claudio Jeker
On Wed, Feb 13, 2019 at 09:54:26AM +1000, David Gwynne wrote: > this makes it easier to call sbcreatecontrol without requiring casts. > > it makes the argument const as well, and promotes the length variable to > size_t. > > ok? OK claudio One note, should there be an extra check that ensures

make sbcreatecontrol take void * instead of caddr_t

2019-02-12 Thread David Gwynne
this makes it easier to call sbcreatecontrol without requiring casts. it makes the argument const as well, and promotes the length variable to size_t. ok? Index: sys/socketvar.h === RCS file: /cvs/src/sys/sys/socketvar.h,v