]> git.dujemihanovic.xyz Git - u-boot.git/commit
gen_eth_addr: Use POSIX rand() and srand()
authorPeter Tyser <ptyser@xes-inc.com>
Fri, 13 Mar 2009 23:54:31 +0000 (18:54 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 3 Apr 2009 23:09:56 +0000 (01:09 +0200)
commit2eeb4e95fbfafe54645fae7ec0b2594101f0573b
treefd4709f24539afcebb36cca8fc71f716b4e4dea6
parent24d2ae5e9debe4b75151a55251031a14477fa875
gen_eth_addr: Use POSIX rand() and srand()

Replace random()/srandom() use with rand()/srand() to support
compilation with the mingw toolchain.  The rand()/srand() functions are
generally more common and are functionally equivalent to the original
random()/srandom() calls.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
tools/gen_eth_addr.c