summaryrefslogtreecommitdiff
path: root/pthread_support.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2022-09-26 09:48:39 +0300
committerIvan Maidanski <ivmai@mail.ru>2022-09-26 15:49:18 +0300
commit8c5f0fc6c63a804c00a001dd093c0fa998b01485 (patch)
treec931f04780775547d81dac316e6e7c6f12f1c07a /pthread_support.c
parente6061ac46dc1ab64cdb747ce55baf6320bc08866 (diff)
downloadbdwgc-8c5f0fc6c63a804c00a001dd093c0fa998b01485.tar.gz
Include stdio.h and stdlib.h only from gc_priv.h
(refactoring) * allchblk.c: Do not include stdio.h directly. * alloc.c: Likewise. * dyn_load.c [(DYNAMIC_LOADING || MSWIN32 || MSWINCE || CYGWIN32) && !PCR]: Likewise. * mach_dep.c [!PLATFORM_MACH_DEP && !SN_TARGET_PSP2]: Likewise. * malloc.c: Likewise. * mallocx.c: Likewise. * mark.c: Likewise. * mark_rts.c: Likewise. * misc.c: Likewise. * new_hblk.c: Likewise. * os_dep.c: Likewise. * reclaim.c: Likewise. * tests/disclaim_bench.c: Likewise. * tests/gctest.c: Likewise. * dbg_mlc.c [KEEP_BACK_PTRS && !LINT2]: Do not include stdlib.h directly. * dyn_load.c [MSWIN32 || MSWINCE || CYGWIN32]: Likewise. * os_dep.c [HAIKU]: Likewise. * pthread_support.c [GC_PTHREADS && !GC_WIN32_THREADS]: Likewise. * tests/disclaim_bench.c: Likewise. * tests/gctest.c [!mips || !SYSTYPE_BSD43]: Likewise. * thread_local_alloc.c: Likewise. * include/private/gc_priv.h: Include stdio.h.
Diffstat (limited to 'pthread_support.c')
-rw-r--r--pthread_support.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pthread_support.c b/pthread_support.c
index a45368a8..a344cc18 100644
--- a/pthread_support.c
+++ b/pthread_support.c
@@ -30,7 +30,6 @@
#if defined(GC_PTHREADS) && !defined(GC_WIN32_THREADS)
-# include <stdlib.h>
# include <pthread.h>
# include <sched.h>
# include <time.h>