From cd44ce8edefb907ada40c28d502485d51ecf6598 Mon Sep 17 00:00:00 2001 From: mdodd Date: Mon, 3 Mar 2003 00:21:52 +0000 Subject: De-register. --- sys/net/if_atmsubr.c | 12 ++++++------ sys/net/if_ethersubr.c | 16 ++++++++-------- sys/net/if_iso88025subr.c | 10 +++++----- 3 files changed, 19 insertions(+), 19 deletions(-) (limited to 'sys') diff --git a/sys/net/if_atmsubr.c b/sys/net/if_atmsubr.c index 1661a88..78ab13c 100644 --- a/sys/net/if_atmsubr.c +++ b/sys/net/if_atmsubr.c @@ -91,7 +91,7 @@ int atm_output(ifp, m0, dst, rt0) - register struct ifnet *ifp; + struct ifnet *ifp; struct mbuf *m0; struct sockaddr *dst; struct rtentry *rt0; @@ -208,11 +208,11 @@ bad: void atm_input(ifp, ah, m, rxhand) struct ifnet *ifp; - register struct atm_pseudohdr *ah; + struct atm_pseudohdr *ah; struct mbuf *m; void *rxhand; { - register struct ifqueue *inq; + struct ifqueue *inq; u_int16_t etype = ETHERTYPE_IP; /* default */ int s; @@ -291,10 +291,10 @@ atm_input(ifp, ah, m, rxhand) */ void atm_ifattach(ifp) - register struct ifnet *ifp; + struct ifnet *ifp; { - register struct ifaddr *ifa; - register struct sockaddr_dl *sdl; + struct ifaddr *ifa; + struct sockaddr_dl *sdl; ifp->if_type = IFT_ATM; ifp->if_addrlen = 0; diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 36a614c..8b42de3 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -139,7 +139,7 @@ static int ether_ipfw; */ int ether_output(ifp, m, dst, rt0) - register struct ifnet *ifp; + struct ifnet *ifp; struct mbuf *m; struct sockaddr *dst; struct rtentry *rt0; @@ -147,8 +147,8 @@ ether_output(ifp, m, dst, rt0) short type; int error = 0, hdrcmplt = 0; u_char esrc[6], edst[6]; - register struct rtentry *rt; - register struct ether_header *eh; + struct rtentry *rt; + struct ether_header *eh; int loop_copy = 0; int hlen; /* link layer header lenght */ struct arpcom *ac = IFP2AC(ifp); @@ -648,7 +648,7 @@ ether_demux(struct ifnet *ifp, struct mbuf *m) struct ifqueue *inq; u_short ether_type; #if defined(NETATALK) - register struct llc *l; + struct llc *l; #endif struct ip_fw *rule = NULL; @@ -902,8 +902,8 @@ ether_sprintf(const u_char *ap) void ether_ifattach(struct ifnet *ifp, const u_int8_t *llc) { - register struct ifaddr *ifa; - register struct sockaddr_dl *sdl; + struct ifaddr *ifa; + struct sockaddr_dl *sdl; ifp->if_type = IFT_ETHER; ifp->if_addrlen = ETHER_ADDR_LEN; @@ -983,7 +983,7 @@ ether_ioctl(ifp, command, data) */ case AF_IPX: { - register struct ipx_addr *ina = &(IA_SIPX(ifa)->sipx_addr); + struct ipx_addr *ina = &(IA_SIPX(ifa)->sipx_addr); struct arpcom *ac = IFP2AC(ifp); if (ipx_nullhost(*ina)) @@ -1009,7 +1009,7 @@ ether_ioctl(ifp, command, data) */ case AF_NS: { - register struct ns_addr *ina = &(IA_SNS(ifa)->sns_addr); + struct ns_addr *ina = &(IA_SNS(ifa)->sns_addr); struct arpcom *ac = IFP2AC(ifp); if (ns_nullhost(*ina)) diff --git a/sys/net/if_iso88025subr.c b/sys/net/if_iso88025subr.c index cf4ceb75..dc001dd 100644 --- a/sys/net/if_iso88025subr.c +++ b/sys/net/if_iso88025subr.c @@ -91,8 +91,8 @@ void iso88025_ifattach(struct ifnet *ifp) { - register struct ifaddr *ifa = NULL; - register struct sockaddr_dl *sdl; + struct ifaddr *ifa = NULL; + struct sockaddr_dl *sdl; ifp->if_type = IFT_ISO88025; ifp->if_addrlen = ISO88025_ADDR_LEN; @@ -152,7 +152,7 @@ iso88025_ioctl(struct ifnet *ifp, int command, caddr_t data) */ case AF_IPX: { - register struct ipx_addr *ina = &(IA_SIPX(ifa)->sipx_addr); + struct ipx_addr *ina = &(IA_SIPX(ifa)->sipx_addr); struct arpcom *ac = IFP2AC(ifp); if (ipx_nullhost(*ina)) @@ -393,8 +393,8 @@ iso88025_input(ifp, th, m) struct iso88025_header *th; struct mbuf *m; { - register struct ifqueue *inq; - register struct llc *l; + struct ifqueue *inq; + struct llc *l; if ((ifp->if_flags & IFF_UP) == 0) { m_freem(m); -- cgit v1.1