diff options
| author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1994-05-25 09:21:21 +0000 |
|---|---|---|
| committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1994-05-25 09:21:21 +0000 |
| commit | 26f9a76710a312a951848542b9ca1f44100450e2 (patch) | |
| tree | 9179427ac860211c445df663fd2b86267366bfba /sys/net/if_loop.c | |
| parent | dbda0ec78e324aced444959e2c98b89b79f22812 (diff) | |
Notes
Diffstat (limited to 'sys/net/if_loop.c')
| -rw-r--r-- | sys/net/if_loop.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c index f09295e34be8..3b9ee74346fc 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -78,14 +78,10 @@ struct ifnet loif; /* ARGSUSED */ void -loopattach(n) - int n; +loopattach(void) { register struct ifnet *ifp = &loif; -#ifdef lint - n = n; /* Highlander: there can only be one... */ -#endif ifp->if_name = "lo"; ifp->if_mtu = LOMTU; ifp->if_flags = IFF_LOOPBACK | IFF_MULTICAST; @@ -100,6 +96,8 @@ loopattach(n) #endif } +TEXT_SET(pseudo_set, loopattach); + int looutput(ifp, m, dst, rt) struct ifnet *ifp; |
