[Toybox] ifconfig: __caddr_t is not portable
Isaac Dunham
idunham at lavabit.com
Sat Apr 13 08:03:22 PDT 2013
ifconfig uses __caddr_t in one location; this is not guaranteed to work everywhere. It does not compile OOB on musl, so I changed it to the portable equivalent, char *. This compiles on musl, and should compile anywhere.
--
Isaac Dunham <idunham at lavabit.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ifconfig-musl.diff
Type: text/x-diff
Size: 532 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20130413/906993ab/attachment-0006.diff>
More information about the Toybox
mailing list