summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:44 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:44 +0200
commit1843dc83891e42ca7032ab32041548d510c219a3 (patch)
tree77ed0b474297dcc243cbb965204bc85f31c13a32 /net
parenteb199c31f20a68d830a40036a39a399c7d683ba3 (diff)
downloadbarebox-1843dc83891e42ca7032ab32041548d510c219a3.tar.gz
barebox-1843dc83891e42ca7032ab32041548d510c219a3.tar.xz
svn_rev_329
remove volatile
Diffstat (limited to 'net')
-rw-r--r--net/bootp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/bootp.c b/net/bootp.c
index 5ef4cef818..84e6c91084 100644
--- a/net/bootp.c
+++ b/net/bootp.c
@@ -17,6 +17,7 @@
#include <common.h>
#include <command.h>
+#include <environment.h>
#include <clock.h>
#include <net.h>
#include "bootp.h"
@@ -528,7 +529,7 @@ static int BootpExtended (u8 * e)
void
BootpRequest (void)
{
- volatile uchar *pkt, *iphdr;
+ uchar *pkt, *iphdr;
Bootp_t *bp;
int ext_len, pktlen, iplen;
@@ -716,7 +717,7 @@ static int DhcpMessageType(unsigned char *popt)
static void DhcpSendRequestPkt(Bootp_t *bp_offer)
{
- volatile uchar *pkt, *iphdr;
+ uchar *pkt, *iphdr;
Bootp_t *bp;
int pktlen, iplen, extlen;
IPaddr_t OfferedIP;