diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2012-01-31 08:24:26 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2012-01-31 16:13:50 +0400 |
commit | eaf890eb279a076ef4d5db30cb2569b0e2b35545 (patch) | |
tree | 85824284565e92ecd5f417d3759e62c2e997f55c /allchblk.c | |
parent | 002f22797140b3fde3325d94a4aa758039ae654a (diff) | |
download | bdwgc-eaf890eb279a076ef4d5db30cb2569b0e2b35545.tar.gz |
Fix FREE_ASSERT usage (fix missing trailing semi-colon)
* allchblk.c (GC_add_to_fl): Append ';' after FREE_ASSERT().
* allchblk.c (GC_remove_from_fl): Fix a typo in a comment.
Diffstat (limited to 'allchblk.c')
-rw-r--r-- | allchblk.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -297,7 +297,7 @@ STATIC void GC_remove_from_fl(hdr *hhdr, int n) GC_ASSERT(((hhdr -> hb_sz) & (HBLKSIZE-1)) == 0); # ifndef USE_MUNMAP - /* We always need index to mainatin free counts. */ + /* We always need index to maintain free counts. */ if (FL_UNKNOWN == n) { index = GC_hblk_fl_from_blocks(divHBLKSZ(hhdr -> hb_sz)); } else { @@ -382,7 +382,7 @@ STATIC void GC_add_to_fl(struct hblk *h, hdr *hhdr) GC_ASSERT(((hhdr -> hb_sz) & (HBLKSIZE-1)) == 0); GC_hblkfreelist[index] = h; INCR_FREE_BYTES(index, hhdr -> hb_sz); - FREE_ASSERT(GC_free_bytes[index] <= GC_large_free_bytes) + FREE_ASSERT(GC_free_bytes[index] <= GC_large_free_bytes); hhdr -> hb_next = second; hhdr -> hb_prev = 0; if (0 != second) { |