diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2022-09-26 09:48:39 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2022-09-26 15:49:18 +0300 |
commit | 8c5f0fc6c63a804c00a001dd093c0fa998b01485 (patch) | |
tree | c931f04780775547d81dac316e6e7c6f12f1c07a /new_hblk.c | |
parent | e6061ac46dc1ab64cdb747ce55baf6320bc08866 (diff) | |
download | bdwgc-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 'new_hblk.c')
-rw-r--r-- | new_hblk.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -21,8 +21,6 @@ * void GC_new_hblk(size, kind) */ -#include <stdio.h> - #ifndef SMALL_CONFIG /* Build a free list for size 2 (words) cleared objects inside */ /* hblk h. Set the last link to be ofl. Return a pointer to the */ |