[U-Boot-Users] [patch] Fix for CONFIG_BOOTP_RANDOM_DELAY does not compile.

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
--- net/bootp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Index: u-boot-git-22052008/net/bootp.h =================================================================== --- u-boot-git-22052008.orig/net/bootp.h 2008-05-22 22:30:29.000000000 +0200 +++ u-boot-git-22052008/net/bootp.h 2008-06-03 10:24:19.000000000 +0200 @@ -60,7 +60,7 @@ extern ulong BootpID; /* ID of cur BOOT 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

On Tue, Jun 3, 2008 at 5:51 AM, Remy Bohmer linux@bohmer.net wrote:
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
Applied to net repo.
thanks, Ben
participants (2)
-
Ben Warren
-
Remy Bohmer