diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2013-08-23 23:42:26 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2013-08-25 22:41:57 +0400 |
commit | 52ac0a40a028a0599079703ff1d42fa3b70913e1 (patch) | |
tree | ea9c70dca60d4eef3c90d56d598332ce00495199 /mallocx.c | |
parent | e6923330aa5ec2a8afad9c0770b00bd08d48f8d7 (diff) | |
download | bdwgc-52ac0a40a028a0599079703ff1d42fa3b70913e1.tar.gz |
Replace GC_DBG_RA with GC_DBG_EXTRAS macro
* dbg_mlc.c (GC_debug_malloc_replacement,
GC_debug_realloc_replacement): Use GC_DBG_EXTRAS (instead of
"GC_DBG_RA NULL, 0").
* malloc.c (GC_debug_malloc_replacement): Likewise.
* mallocx.c (GC_debug_realloc_replacement): Likewise.
* include/private/gc_priv.h (GC_DBG_EXTRAS): New macro (similar to
GC_EXTRAS but pass NULL/0 instead of __FILE__and __LINE__);
pass "unknown" instead of NULL unless GC_ADD_CALLER.
* include/private/gc_priv.h (GC_DBG_RA): Remove.
Diffstat (limited to 'mallocx.c')
-rw-r--r-- | mallocx.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -154,7 +154,7 @@ GC_API void * GC_CALL GC_realloc(void * p, size_t lb) /* As with malloc, avoid two levels of extra calls here. */ # define GC_debug_realloc_replacement(p, lb) \ - GC_debug_realloc(p, lb, GC_DBG_RA NULL, 0) + GC_debug_realloc(p, lb, GC_DBG_EXTRAS) void * realloc(void * p, size_t lb) { |