[Toybox] toynet.h to be included in toys.h

Rob Landley rob at landley.net
Sat Nov 2 10:42:00 PDT 2013


On 05/03/2013 01:05:13 AM, Ashwini Sharma wrote:
> Hi Rob,
> 
>   I think we should include toynet.h in toys.h, before we include
> #include "generated/newtoys.h"
> #include "generated/globals.h"
> 
> so that whenever someone has a variable in GLOBALS ( )
> whose type is declared in networking headers, like a __struct  
> sockaddr_in
> __ will get the type,
>  else he will have to keep the variable outside the GLOBALS macro.

I still have this on my todo list, and now that musl is maturing I  
thing I agree. I think I'll just merge toynet.h into toys.h.

Rob


More information about the Toybox mailing list