De-register.

This commit is contained in:
mdodd 2003-03-03 00:21:52 +00:00
parent 3e73a17647
commit cd44ce8ede
3 changed files with 19 additions and 19 deletions

View File

@ -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;

View File

@ -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))

View File

@ -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);