diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2012-07-05 13:19:32 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-07-08 22:39:42 +0200 |
commit | db7720bad4ae0577c140fd72def24311afece894 (patch) | |
tree | d29b1c2349d0a8c5261653458943951460e7e18b /board | |
parent | fe749d3728b281cd0b986c82eed30c64b3450ce7 (diff) | |
download | u-boot-imx-db7720bad4ae0577c140fd72def24311afece894.zip u-boot-imx-db7720bad4ae0577c140fd72def24311afece894.tar.gz u-boot-imx-db7720bad4ae0577c140fd72def24311afece894.tar.bz2 |
net: make net_rand.h inclusion depend on BOOTP_RANDOM_DELAY
commit "net: use common rand()/srand() functions" introduced the following
build warning on the current u-boot-arm tree:
$ ./MAKEALL MPC8313ERDB_66
Configuring for MPC8313ERDB_66 - Board: MPC8313ERDB, Options: SYS_66MHZ
text data bss dec hex filename
271988 13976 41768 327732 50034 ./u-boot
In file included from bootp.c:15:0:
net_rand.h: In function 'srand_mac':
net_rand.h:40:2: warning: implicit declaration of function 'srand' [-Wimplicit-function-declaration]
adding this dependency fixes it.
Cc: Michael Walle <michael@walle.cc>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Acked-by: Michael Walle <michael@walle.cc>
Diffstat (limited to 'board')
0 files changed, 0 insertions, 0 deletions