-/* $OpenBSD: kern_fork.c,v 1.29 2000/03/03 11:31:42 art Exp $ */
+/* $OpenBSD: kern_fork.c,v 1.30 2000/03/03 11:46:09 art Exp $ */
/* $NetBSD: kern_fork.c,v 1.29 1996/02/09 18:59:34 christos Exp $ */
/*
}
if (!doingzomb) {
doingzomb = 1;
- p2 = zombproc.lh_first;
+ p2 = LIST_FIRST(&zombproc);
goto again;
}
}
-/* $OpenBSD: kern_synch.c,v 1.18 2000/03/03 11:31:43 art Exp $ */
+/* $OpenBSD: kern_synch.c,v 1.19 2000/03/03 11:46:09 art Exp $ */
/* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */
/*-
p = LIST_NEXT(p, p_list);
if (p == 0 && doingzomb == 0) {
doingzomb = 1;
- p = zombproc.lh_first;
+ p = LIST_FIRST(&zombproc);
}
}
}
-/* $OpenBSD: kern_sysctl.c,v 1.31 2000/03/03 11:31:43 art Exp $ */
+/* $OpenBSD: kern_sysctl.c,v 1.32 2000/03/03 11:46:09 art Exp $ */
/* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */
/*-
needed += sizeof(struct kinfo_proc);
}
if (doingzomb == 0) {
- p = zombproc.lh_first;
+ p = LIST_FIRST(&zombproc);
doingzomb++;
goto again;
}