summaryrefslogtreecommitdiffstats
path: root/sys/net/if_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_loop.c')
-rw-r--r--sys/net/if_loop.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c
index f09295e..3b9ee74 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;
OpenPOWER on IntegriCloud