diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2002-03-21 18:49:23 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-03-21 18:49:23 +0000 |
| commit | 8fb3f3f68288ae2b1b53dd65e3dd673d83c80f4c (patch) | |
| tree | 12b252b7426e8a8904ef257bea10fea6038142f4 /lib/libc/net/ip6opt.c | |
| parent | ddf23aa842f17afcb0e9bfd88bfad20f6431d0a3 (diff) | |
Notes
Diffstat (limited to 'lib/libc/net/ip6opt.c')
| -rw-r--r-- | lib/libc/net/ip6opt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/ip6opt.c b/lib/libc/net/ip6opt.c index f9291b913def..b692a911bfa9 100644 --- a/lib/libc/net/ip6opt.c +++ b/lib/libc/net/ip6opt.c @@ -70,7 +70,7 @@ inet6_option_init(bp, cmsgp, type) struct cmsghdr **cmsgp; int type; { - register struct cmsghdr *ch = (struct cmsghdr *)bp; + struct cmsghdr *ch = (struct cmsghdr *)bp; /* argument validation */ if (type != IPV6_HOPOPTS && type != IPV6_DSTOPTS) @@ -102,7 +102,7 @@ inet6_option_append(cmsg, typep, multx, plusy) int plusy; { int padlen, optlen, off; - register u_char *bp = (u_char *)cmsg + cmsg->cmsg_len; + u_char *bp = (u_char *)cmsg + cmsg->cmsg_len; struct ip6_ext *eh = (struct ip6_ext *)CMSG_DATA(cmsg); /* argument validation */ @@ -176,7 +176,7 @@ inet6_option_alloc(cmsg, datalen, multx, plusy) int plusy; { int padlen, off; - register u_int8_t *bp = (u_char *)cmsg + cmsg->cmsg_len; + u_int8_t *bp = (u_char *)cmsg + cmsg->cmsg_len; u_int8_t *retval; struct ip6_ext *eh = (struct ip6_ext *)CMSG_DATA(cmsg); |
