DragonFly BSD
DragonFly kernel List (threaded) for 2006-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

change iov_base's type from `char *' to standard `void *'


From: "Jeremy C. Reed" <reed@xxxxxxxxxxxxx>
Date: Wed, 8 Mar 2006 08:37:00 -0800 (PST)

I saw that Xorg's xcb assumes iov_base as void *. Looking closer I saw the 
note "iov_base should be a void *" in sys/sys/uio.h.

I haven't tried myself, but someone submit update in:
http://leaf.dragonflybsd.org/mailarchive/submit/2006-01/msg00030.html

The FreeBSD commit says:
 Change iov_base's type from `char *' to the standard `void *'.  All
 uses of iov_base which assume its type is `char *' (in order to do
 pointer arithmetic) have been updated to cast iov_base to `char *'.

Does this matter?

 Jeremy C. Reed

echo ':6DB6=88>?;@69876tA=AC8BB5tA6487><' | tr '4-F' 'wu rofIn.lkigemca'



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