]> Git Repo - J-u-boot.git/commit
net: use common rand()/srand() functions
authorMichael Walle <[email protected]>
Tue, 5 Jun 2012 11:33:15 +0000 (11:33 +0000)
committerAlbert ARIBAUD <[email protected]>
Sat, 7 Jul 2012 12:07:32 +0000 (14:07 +0200)
commit99e139d5902e488eb779cd4f00c978f3803c39be
tree44a0e2420003a2c3393b845b091bcc7b2e05a93b
parent9acf1ca50d8b031511d146f6ffd73201fedce28c
net: use common rand()/srand() functions

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 <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
include/common.h
lib/Makefile
net/Makefile
net/link_local.c
net/net_rand.c [deleted file]
net/net_rand.h
This page took 0.036208 seconds and 4 git commands to generate.