Use struct __sFILE instead of FILE in thread locking callback
authorguenther <guenther@openbsd.org>
Sun, 18 Aug 2024 02:25:51 +0000 (02:25 +0000)
committerguenther <guenther@openbsd.org>
Sun, 18 Aug 2024 02:25:51 +0000 (02:25 +0000)
commit076a4f8b585751a7eee3f672f66cd97e985f5a38
tree3bcb88f7c67aee8972860d08ce64f307b7b07836
parent909e7910c733713f536254da01d820c315d6be25
Use struct __sFILE instead of FILE in thread locking callback
declarations to reduce <stdio.h> pollution.  Declare __isthreaded
in thread_private.h where it's really needed.

ok deraadt@
lib/libc/include/thread_private.h
lib/libc/thread/rthread_cb.h