diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2016-08-26 07:12:31 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2016-08-26 07:12:31 +0000 |
commit | 7381900c8893ebcce95b630e4daee3d9ba7ae9aa (patch) | |
tree | 82ba51d9efce7707ec56c5783b8ccd42f271c66c /sys/kern/uipc_usrreq.c | |
parent | 16c77236ce0cff86a6daf376386f90f32dbb9aba (diff) |
The *_HEAD_INITIALIZER() macros are documented as taking the struct,
not a pointer to it
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
-rw-r--r-- | sys/kern/uipc_usrreq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index 6e3d08fe398..e0f7f27d944 100644 --- a/sys/kern/uipc_usrreq.c +++ b/sys/kern/uipc_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_usrreq.c,v 1.101 2016/08/17 13:53:14 bluhm Exp $ */ +/* $OpenBSD: uipc_usrreq.c,v 1.102 2016/08/26 07:12:30 guenther Exp $ */ /* $NetBSD: uipc_usrreq.c,v 1.18 1996/02/09 19:00:50 christos Exp $ */ /* @@ -54,7 +54,7 @@ void uipc_setaddr(const struct unpcb *, struct mbuf *); /* list of all UNIX domain sockets, for unp_gc() */ -LIST_HEAD(unp_head, unpcb) unp_head = LIST_HEAD_INITIALIZER(&unp_head); +LIST_HEAD(unp_head, unpcb) unp_head = LIST_HEAD_INITIALIZER(unp_head); /* * Stack of sets of files that were passed over a socket but were @@ -68,7 +68,7 @@ struct unp_deferral { }; /* list of sets of files that were sent over sockets that are now closed */ -SLIST_HEAD(,unp_deferral) unp_deferred = SLIST_HEAD_INITIALIZER(&unp_deferred); +SLIST_HEAD(,unp_deferral) unp_deferred = SLIST_HEAD_INITIALIZER(unp_deferred); struct task unp_gc_task = TASK_INITIALIZER(unp_gc, NULL); |