]> git.sur5r.net Git - u-boot/commitdiff
Fix compile error when CONFIG_BOOTP_RANDOM_DELAY is set.
authorRemy Bohmer <linux@bohmer.net>
Wed, 20 Aug 2008 09:30:27 +0000 (11:30 +0200)
committerBen Warren <biggerbadderben@gmail.com>
Wed, 27 Aug 2008 05:44:27 +0000 (22:44 -0700)
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 <linux@bohmer.net>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
net/bootp.h

index 320cc3bd3025f12897b91b3016d57321d2378998..c2f011c8c69b33900cc39fda0ca08688b4806566 100644 (file)
@@ -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