summaryrefslogtreecommitdiff
path: root/allchblk.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2012-01-31 08:24:26 +0400
committerIvan Maidanski <ivmai@mail.ru>2012-01-31 16:13:50 +0400
commiteaf890eb279a076ef4d5db30cb2569b0e2b35545 (patch)
tree85824284565e92ecd5f417d3759e62c2e997f55c /allchblk.c
parent002f22797140b3fde3325d94a4aa758039ae654a (diff)
downloadbdwgc-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/allchblk.c b/allchblk.c
index 72faf5fe..f6ea681e 100644
--- a/allchblk.c
+++ b/allchblk.c
@@ -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) {