diff options
Diffstat (limited to 'mallocx.c')
-rw-r--r-- | mallocx.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -34,7 +34,7 @@ /* Some externally visible but unadvertised variables to allow access to */ /* free lists from inlined allocators without including gc_priv.h */ /* or introducing dependencies on internal data structure layouts. */ -#include "gc_alloc_ptrs.h" +#include "private/gc_alloc_ptrs.h" void ** const GC_objfreelist_ptr = GC_objfreelist; void ** const GC_aobjfreelist_ptr = GC_aobjfreelist; void ** const GC_uobjfreelist_ptr = GC_uobjfreelist; @@ -249,13 +249,13 @@ GC_API GC_ATTR_MALLOC void * GC_CALL /* Increment GC_bytes_allocd from code that doesn't have direct access */ /* to GC_arrays. */ -GC_API void GC_CALL GC_incr_bytes_allocd(size_t n) +void GC_CALL GC_incr_bytes_allocd(size_t n) { GC_bytes_allocd += n; } /* The same for GC_bytes_freed. */ -GC_API void GC_CALL GC_incr_bytes_freed(size_t n) +void GC_CALL GC_incr_bytes_freed(size_t n) { GC_bytes_freed += n; } |