summaryrefslogtreecommitdiff
path: root/typd_mlc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2022-10-07 09:32:21 +0300
committerIvan Maidanski <ivmai@mail.ru>2022-10-11 09:08:00 +0300
commit20a94399951f3f0aa27ce885c3ca2163dba47803 (patch)
treec72e462705b597ce2d1c61948be3c9eaf1f43f6d /typd_mlc.c
parentc8b6c7a48f158c27e6bbde0c8c98380d3e700c2e (diff)
downloadbdwgc-20a94399951f3f0aa27ce885c3ca2163dba47803.tar.gz
Include gc_inline.h from gc_priv.h
(refactoring) Also, use EXPECT(FALSE) for GC_ASSERT. * extra/gc.c: Do not include gc_inline.h. * fnlz_mlc.c [ENABLE_DISCLAIM]: Likewise. * include/private/thread_local_alloc.h [THREAD_LOCAL_ALLOC]: Likewise. * malloc.c: Likewise. * mallocx.c: Likewise. * pthread_support.c: Likewise. * reclaim.c: Likewise. * typd_mlc.c: Likewise. * include/private/gc_priv.h: Move GC_ASSERT definition upper; include gc_inline.h (after GC_ASSERT); define PTRFREE and NORMAL to GC_I_PTRFREE and GC_I_NORMAL, respectively. * include/private/gc_priv.h [GC_ASSERTIONS] (GC_ASSERT): Use EXPECT().
Diffstat (limited to 'typd_mlc.c')
-rw-r--r--typd_mlc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/typd_mlc.c b/typd_mlc.c
index 50530881..56f14632 100644
--- a/typd_mlc.c
+++ b/typd_mlc.c
@@ -15,7 +15,6 @@
*/
#include "private/gc_pmark.h"
-#include "gc/gc_inline.h" /* for GC_malloc_kind */
/*
* Some simple primitives for allocation with explicit type information.