diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-12-03 16:27:33 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-12-03 16:27:33 +0000 |
commit | dff17dbfaf3a4db17a3050046e0cf30ecc6bb481 (patch) | |
tree | f7d9ff7fdadb1d71a9a1b78d7ab61009859afa0b /sys/net/if.c | |
parent | 2e0cebfa9ec8d0eeb0b3f46ff26648b7e10e885f (diff) |
Use SRPL_HEAD() and SRPL_ENTRY() to be consistent with and allow to
fallback to a SLIST.
ok dlg@, jasper@
Diffstat (limited to 'sys/net/if.c')
-rw-r--r-- | sys/net/if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 728e9a0cdd6..249c22e25b9 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.419 2015/12/03 14:55:17 vgross Exp $ */ +/* $OpenBSD: if.c,v 1.420 2015/12/03 16:27:32 mpi Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -740,7 +740,7 @@ if_input_local(struct ifnet *ifp, struct mbuf *m, sa_family_t af) } struct ifih { - struct srpl_entry ifih_next; + SRPL_ENTRY(ifih) ifih_next; int (*ifih_input)(struct ifnet *, struct mbuf *, void *); void *ifih_cookie; |