From: Remy Bohmer Date: Wed, 20 Aug 2008 09:30:27 +0000 (+0200) Subject: Fix compile error when CONFIG_BOOTP_RANDOM_DELAY is set. X-Git-Tag: v2008.10-rc1~82 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=61365501a0e2cae9c1df2818b7b5b3f52c450d18;p=u-boot Fix compile error when CONFIG_BOOTP_RANDOM_DELAY is set. The option CONFIG_BOOTP_RANDOM_DELAY does not compile, because of a missing extern inside the net/bootp.h header Signed-off-by: Remy Bohmer Signed-off-by: Ben Warren --- diff --git a/net/bootp.h b/net/bootp.h index 320cc3bd30..c2f011c8c6 100644 --- a/net/bootp.h +++ b/net/bootp.h @@ -60,7 +60,7 @@ extern ulong BootpID; /* ID of cur BOOTP request */ extern char BootFile[128]; /* Boot file name */ extern int BootpTry; #ifdef CONFIG_BOOTP_RANDOM_DELAY -ulong seed1, seed2; /* seed for random BOOTP delay */ +extern ulong seed1, seed2; /* seed for random BOOTP delay */ #endif