Dear Michael, In message <1338931997-13419-3-git-send-email-mich...@walle.cc> you wrote: > Replace rand() with the functions from lib/. The link-local network code > stores its own seed, derived from the MAC address. Thus making it > independent from calls to srand() in other modules. > > Signed-off-by: Michael Walle <mich...@walle.cc> > Acked-by: Joe Hershberger <joe.hershber...@ni.com> > --- > include/common.h | 4 ++- > lib/Makefile | 4 ++- > net/Makefile | 2 - > net/link_local.c | 7 +++-- > net/net_rand.c | 68 > ------------------------------------------------------ > net/net_rand.h | 31 +++++++++++++++++++----- > 6 files changed, 34 insertions(+), 82 deletions(-) > delete mode 100644 net/net_rand.c
This commit causes build warnings like these for a zillion of boards: net_rand.h:40:2: warning: implicit declaration of function 'srand' [-Wimplicit-function-declaration] Please fix! Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Unix is supported by IBM, like a hanging man is supported by rope. - Don Libes & Sandy Ressler: _Life With Unix_ _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot