]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - net/bootp.c
Unified codebase for TX28, TX48, TX51, TX53
[karo-tx-uboot.git] / net / bootp.c
index 9e324769db12e07b49b4a6dda91c01487d1fa035..621c3752a280ee0a0c5f51c756d09cf934a6a8f8 100644 (file)
 #define CONFIG_DHCP_MIN_EXT_LEN 64
 #endif
 
-ulong          BootpID;
+static ulong           BootpID;
 int            BootpTry;
 #ifdef CONFIG_BOOTP_RANDOM_DELAY
-ulong          seed1, seed2;
+static ulong           seed1, seed2;
 #endif
 
 #if defined(CONFIG_CMD_DHCP)
-dhcp_state_t dhcp_state = INIT;
-unsigned long dhcp_leasetime = 0;
-IPaddr_t NetDHCPServerIP = 0;
+static dhcp_state_t dhcp_state = INIT;
+static unsigned long dhcp_leasetime = 0;
+static IPaddr_t NetDHCPServerIP = 0;
 static void DhcpHandler(uchar *pkt, unsigned dest, IPaddr_t sip, unsigned src,
                        unsigned len);