[U-Boot] [PATCH/next v3 07/28] gen_eth_addr: Use POSIX rand() and srand()

Wolfgang Denk wd at denx.de
Sat Apr 4 01:10:08 CEST 2009


Dear Peter Tyser,

In message <1236988492-21295-8-git-send-email-ptyser at xes-inc.com> you wrote:
> 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 at xes-inc.com>
> ---
>  tools/gen_eth_addr.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

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: wd at denx.de
"When people are least sure, they are often most dogmatic."
- John Kenneth Galbraith


More information about the U-Boot mailing list