]> granicus.if.org Git - gc/commit
Fix 'GC_generic_malloc_inner_ignore_off_page not used' compiler warning
authorIvan Maidanski <ivmai@mail.ru>
Fri, 18 Mar 2016 18:06:53 +0000 (21:06 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 27 Apr 2016 08:06:23 +0000 (11:06 +0300)
commit9430f6ac760e732646fe5e2a7481c27a619a95ca
treeb49bb4d577cb9a22640c8472b3c8828b1e8a2ef1
parentf36ff37f718e3ad4e4d45a009ad07e6ffb4dcc5a
Fix 'GC_generic_malloc_inner_ignore_off_page not used' compiler warning
(for GC_NO_FINALIZATION case)
(Apply commit d6c3457 from 'master' branch.)

* include/private/gc_priv.h (GC_generic_malloc_inner_ignore_off_page):
Do not declare unless DBG_HDRS_ALL or GC_GCJ_SUPPORT, or
!GC_NO_FINALIZATION.
* malloc.c (GC_generic_malloc_inner_ignore_off_page): Do not define
unless DBG_HDRS_ALL or GC_GCJ_SUPPORT, or !GC_NO_FINALIZATION.
include/private/gc_priv.h
malloc.c