avoid compiler warnings in --disable-places mode
This commit is contained in:
parent
5bc8b67eba
commit
6f9c197b96
|
@ -2242,7 +2242,9 @@ int GC_merely_accounting()
|
||||||
/* administration / initialization */
|
/* administration / initialization */
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
#ifdef MZ_USE_PLACES
|
||||||
static void free_child_gc(void);
|
static void free_child_gc(void);
|
||||||
|
#endif
|
||||||
|
|
||||||
inline static int page_mmu_type(mpage *page) {
|
inline static int page_mmu_type(mpage *page) {
|
||||||
switch (page->size_class) {
|
switch (page->size_class) {
|
||||||
|
@ -4579,6 +4581,7 @@ void GC_dump_variable_stack(void **var_stack,
|
||||||
/* GC free all */
|
/* GC free all */
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
|
#ifdef MZ_USE_PLACES
|
||||||
static void free_child_gc(void)
|
static void free_child_gc(void)
|
||||||
{
|
{
|
||||||
NewGC *gc = GC_get_GC();
|
NewGC *gc = GC_get_GC();
|
||||||
|
@ -4610,6 +4613,7 @@ static void free_child_gc(void)
|
||||||
mmu_free(gc->mmu);
|
mmu_free(gc->mmu);
|
||||||
free(gc);
|
free(gc);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void GC_free_all(void)
|
void GC_free_all(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user