diff options
Diffstat (limited to 'lib/libstand/ether.c')
-rw-r--r-- | lib/libstand/ether.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/libstand/ether.c b/lib/libstand/ether.c index af26bcf..1fc5ff2 100644 --- a/lib/libstand/ether.c +++ b/lib/libstand/ether.c @@ -65,8 +65,8 @@ sendether(d, pkt, len, dea, etype) u_char *dea; int etype; { - register ssize_t n; - register struct ether_header *eh; + ssize_t n; + struct ether_header *eh; #ifdef ETHER_DEBUG if (debug) @@ -95,14 +95,14 @@ sendether(d, pkt, len, dea, etype) */ ssize_t readether(d, pkt, len, tleft, etype) - register struct iodesc *d; - register void *pkt; - register size_t len; + struct iodesc *d; + void *pkt; + size_t len; time_t tleft; - register u_int16_t *etype; + u_int16_t *etype; { - register ssize_t n; - register struct ether_header *eh; + ssize_t n; + struct ether_header *eh; #ifdef ETHER_DEBUG if (debug) @@ -138,11 +138,11 @@ readether(d, pkt, len, tleft, etype) static char digits[] = "0123456789abcdef"; char * ether_sprintf(ap) - register u_char *ap; + u_char *ap; { - register int i; + int i; static char etherbuf[18]; - register char *cp = etherbuf; + char *cp = etherbuf; for (i = 0; i < 6; i++) { *cp++ = digits[*ap >> 4]; |