summaryrefslogtreecommitdiff
path: root/mallocx.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2013-08-23 23:42:26 +0400
committerIvan Maidanski <ivmai@mail.ru>2013-08-25 22:41:57 +0400
commit52ac0a40a028a0599079703ff1d42fa3b70913e1 (patch)
treeea9c70dca60d4eef3c90d56d598332ce00495199 /mallocx.c
parente6923330aa5ec2a8afad9c0770b00bd08d48f8d7 (diff)
downloadbdwgc-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mallocx.c b/mallocx.c
index 1b4e09b8..7fcaa5c2 100644
--- a/mallocx.c
+++ b/mallocx.c
@@ -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)
{