Move some GC_arrays non-pointer fields to module where they are used
authorIvan Maidanski <ivmai@mail.ru>
Sun, 29 Jan 2012 10:41:46 +0000 (14:41 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 29 Jan 2012 10:41:46 +0000 (14:41 +0400)
commit7bb2e52568b281ac4bf1026654f84eecc89216d0
treefefc5d6845a842b33bf6f417e883284741751306
parent4cc17eb8fa505aa33c941dd19b78a411f32d2bd4
Move some GC_arrays non-pointer fields to module where they are used

* include/private/gc_priv.h (_GC_arrays): Move _max_heapsize and
_non_gc_bytes_at_gc fields to alloc.c.
* include/private/gc_priv.h (GC_max_heapsize, GC_non_gc_bytes_at_gc):
Remove.
* alloc.c (GC_non_gc_bytes_at_gc, GC_max_heapsize): Define global
variables as STATIC.
alloc.c
include/private/gc_priv.h