summaryrefslogtreecommitdiff
path: root/allchblk.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2012-01-31 05:24:26 +0100
committerIvan Maidanski <ivmai@mail.ru>2012-01-31 13:18:41 +0100
commit32a6651caa6689300866d27bff1fd20f58f568d9 (patch)
treee0c3f5b65e90861a8649ff50f9acddbc4488b7d4 /allchblk.c
parent088b314a3534236d4b7d42f51fa19b0e1bcc3ebf (diff)
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 dc35bc2..a404fda 100644
--- a/allchblk.c
+++ b/allchblk.c
@@ -289,7 +289,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 {
@@ -374,7 +374,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) {