diff options
Diffstat (limited to 'lib/libc/net/rthdr.c')
| -rw-r--r-- | lib/libc/net/rthdr.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/net/rthdr.c b/lib/libc/net/rthdr.c index 1f9d10228476..c919313d558f 100644 --- a/lib/libc/net/rthdr.c +++ b/lib/libc/net/rthdr.c @@ -62,8 +62,8 @@ inet6_rthdr_init(bp, type) void *bp; int type; { - register struct cmsghdr *ch = (struct cmsghdr *)bp; - register struct ip6_rthdr *rthdr; + struct cmsghdr *ch = (struct cmsghdr *)bp; + struct ip6_rthdr *rthdr; rthdr = (struct ip6_rthdr *)CMSG_DATA(ch); @@ -90,7 +90,7 @@ inet6_rthdr_add(cmsg, addr, flags) const struct in6_addr *addr; u_int flags; { - register struct ip6_rthdr *rthdr; + struct ip6_rthdr *rthdr; rthdr = (struct ip6_rthdr *)CMSG_DATA(cmsg); @@ -139,7 +139,7 @@ inet6_rthdr_lasthop(cmsg, flags) struct cmsghdr *cmsg; unsigned int flags; { - register struct ip6_rthdr *rthdr; + struct ip6_rthdr *rthdr; rthdr = (struct ip6_rthdr *)CMSG_DATA(cmsg); @@ -195,7 +195,7 @@ int inet6_rthdr_segments(cmsg) const struct cmsghdr *cmsg; { - register struct ip6_rthdr *rthdr; + struct ip6_rthdr *rthdr; rthdr = (struct ip6_rthdr *)CMSG_DATA(cmsg); @@ -229,7 +229,7 @@ inet6_rthdr_getaddr(cmsg, index) struct cmsghdr *cmsg; int index; { - register struct ip6_rthdr *rthdr; + struct ip6_rthdr *rthdr; rthdr = (struct ip6_rthdr *)CMSG_DATA(cmsg); @@ -270,7 +270,7 @@ inet6_rthdr_getflags(cmsg, index) const struct cmsghdr *cmsg; int index; { - register struct ip6_rthdr *rthdr; + struct ip6_rthdr *rthdr; rthdr = (struct ip6_rthdr *)CMSG_DATA(cmsg); |
