sys/sched.h: conceal <sys/queue.h> inclusion from userspace
authorcheloha <cheloha@openbsd.org>
Sun, 14 Jan 2024 17:23:56 +0000 (17:23 +0000)
committercheloha <cheloha@openbsd.org>
Sun, 14 Jan 2024 17:23:56 +0000 (17:23 +0000)
commitb533a222ab394a389180c6ea20c8e81c68bf8f87
tree8a2622594e3999a4511ec43b1f8ff0d3a433a373
parent065d92b5dfff2cb2ac74d9d132047b58d687f233
sys/sched.h: conceal <sys/queue.h> inclusion from userspace

Nothing outside of the _KERNEL guard in <sys/sched.h> needs
<sys/queue.h>, so move its inclusion under _KERNEL.

Requested by claudio@.

Link: https://marc.info/?l=openbsd-tech&m=169937494818685&w=2
ok claudio@
sys/sys/sched.h