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

Ashwini Sharma ak.ashwini at gmail.com
Fri May 3 06:05:13 UTC 2013


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.

May be this can be included conditionaly, as done for CONFIG_HELP, or
straight away.

regards,
Ashwini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox/attachments/20130503/56d2b6ae/attachment.htm>


More information about the Toybox mailing list