diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2011-12-29 10:07:14 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-12-29 10:07:14 +0400 |
commit | 766f7c1d7e432953cd96eaf482c775045040dc54 (patch) | |
tree | 4ebde5020e597096557b0e951ebe9517bf9b3a86 /allchblk.c | |
parent | 4939b752ba829fa649edc82e1a710022b19e8086 (diff) | |
download | bdwgc-766f7c1d7e432953cd96eaf482c775045040dc54.tar.gz |
Refactoring: rename GC_PRIdPTR to WARN_PRIdPTR
* allchblk.c (GC_allochblk_nth): Rename GC_PRIdPTR to WARN_PRIdPTR.
* alloc.c (GC_collect_or_expand): Likewise.
* include/private/gc_priv.h (GC_PRIdPTR): Likewise.
* pthread_support.c (start_mark_threads, GC_thr_init): Likewise.
* GC_thr_init (GC_delete_thread): Likewise.
* include/private/gc_priv.h (WARN): Add comment about argument format
specifier.
* include/private/gc_priv.h (GC_PRIdPTR): Remove commented out code;
refine comment.
Diffstat (limited to 'allchblk.c')
-rw-r--r-- | allchblk.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -731,7 +731,7 @@ GC_allochblk_nth(size_t sz, int kind, unsigned flags, int n, if (++GC_large_alloc_warn_suppressed >= GC_large_alloc_warn_interval) { WARN("Repeated allocation of very large block " - "(appr. size %" GC_PRIdPTR "):\n" + "(appr. size %" WARN_PRIdPTR "):\n" "\tMay lead to memory leak and poor performance.\n", size_needed); GC_large_alloc_warn_suppressed = 0; |