aboutsummaryrefslogtreecommitdiff
path: root/net/bootp.h
diff options
context:
space:
mode:
authorRemy Bohmer <linux@bohmer.net>2008-08-20 11:30:27 +0200
committerBen Warren <biggerbadderben@gmail.com>2008-08-26 22:44:27 -0700
commit61365501a0e2cae9c1df2818b7b5b3f52c450d18 (patch)
treee6ef7bbe99d2561da12ac8d3f107637e6ded07e1 /net/bootp.h
parent1803f7f91ff35ca402259065df7557107dcf28a2 (diff)
downloadu-boot-linaro-stable-61365501a0e2cae9c1df2818b7b5b3f52c450d18.tar.gz
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 <linux@bohmer.net> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'net/bootp.h')
-rw-r--r--net/bootp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bootp.h b/net/bootp.h
index 320cc3bd3..c2f011c8c 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