Move CLOCKS_PER_SEC to sys/_time.h so the kernel has access to it.
authormillert <millert@openbsd.org>
Tue, 25 Oct 2022 16:30:30 +0000 (16:30 +0000)
committermillert <millert@openbsd.org>
Tue, 25 Oct 2022 16:30:30 +0000 (16:30 +0000)
commit3d0c28f3ebeef35d719eaa17845005167da1a1fd
tree07324152705fb4397c92069a72fcd0fe45361bbd
parent84a080a8d9cd814f13976207096fa7774ec0882f
Move CLOCKS_PER_SEC to sys/_time.h so the kernel has access to it.
This will be used in waitid(2) to set si_utime and si_stime.
The definition of struct timespec also moves from time.h to sys/_time.h
for struct itimerspec.  OK kettenis@
include/time.h
sys/sys/_time.h