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

Ashwini Sharma ak.ashwini at gmail.com
Thu May 2 23:05:13 PDT 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-landley.net/attachments/20130503/56d2b6ae/attachment-0004.htm>


More information about the Toybox mailing list