diff options
Diffstat (limited to 'lib/libstand/udp.c')
-rw-r--r-- | lib/libstand/udp.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/libstand/udp.c b/lib/libstand/udp.c index 4dbd795..4953932 100644 --- a/lib/libstand/udp.c +++ b/lib/libstand/udp.c @@ -63,14 +63,14 @@ __FBSDID("$FreeBSD$"); /* Caller must leave room for ethernet, ip and udp headers in front!! */ ssize_t sendudp(d, pkt, len) - register struct iodesc *d; - register void *pkt; - register size_t len; + struct iodesc *d; + void *pkt; + size_t len; { - register ssize_t cc; - register struct ip *ip; - register struct udphdr *uh; - register u_char *ea; + ssize_t cc; + struct ip *ip; + struct udphdr *uh; + u_char *ea; #ifdef NET_DEBUG if (debug) { @@ -105,7 +105,7 @@ sendudp(d, pkt, len) #ifndef UDP_NO_CKSUM { - register struct udpiphdr *ui; + struct udpiphdr *ui; struct ip tip; /* Calculate checksum (must save and restore ip header) */ @@ -138,15 +138,15 @@ sendudp(d, pkt, len) */ ssize_t readudp(d, pkt, len, tleft) - register struct iodesc *d; - register void *pkt; - register size_t len; + struct iodesc *d; + void *pkt; + size_t len; time_t tleft; { - register ssize_t n; - register size_t hlen; - register struct ip *ip; - register struct udphdr *uh; + ssize_t n; + size_t hlen; + struct ip *ip; + struct udphdr *uh; u_int16_t etype; /* host order */ #ifdef NET_DEBUG @@ -235,7 +235,7 @@ readudp(d, pkt, len, tleft) #ifndef UDP_NO_CKSUM if (uh->uh_sum) { - register struct udpiphdr *ui; + struct udpiphdr *ui; struct ip tip; n = ntohs(uh->uh_ulen) + sizeof(*ip); |