diff options
Diffstat (limited to 'lib/libstand/arp.c')
-rw-r--r-- | lib/libstand/arp.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/lib/libstand/arp.c b/lib/libstand/arp.c index b84fe47..59f0ce5 100644 --- a/lib/libstand/arp.c +++ b/lib/libstand/arp.c @@ -74,12 +74,12 @@ static ssize_t arprecv(struct iodesc *, void *, size_t, time_t); /* Broadcast an ARP packet, asking who has addr on interface d */ u_char * arpwhohas(d, addr) - register struct iodesc *d; + struct iodesc *d; struct in_addr addr; { - register int i; - register struct ether_arp *ah; - register struct arp_list *al; + int i; + struct ether_arp *ah; + struct arp_list *al; struct { struct ether_header eh; struct { @@ -152,9 +152,9 @@ arpwhohas(d, addr) static ssize_t arpsend(d, pkt, len) - register struct iodesc *d; - register void *pkt; - register size_t len; + struct iodesc *d; + void *pkt; + size_t len; { #ifdef ARP_DEBUG @@ -171,13 +171,13 @@ arpsend(d, pkt, len) */ static ssize_t arprecv(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 struct ether_arp *ah; + ssize_t n; + struct ether_arp *ah; u_int16_t etype; /* host order */ #ifdef ARP_DEBUG @@ -261,8 +261,8 @@ arprecv(d, pkt, len, tleft) */ void arp_reply(d, pkt) - register struct iodesc *d; - register void *pkt; /* the request */ + struct iodesc *d; + void *pkt; /* the request */ { struct ether_arp *arp = pkt; |