]> granicus.if.org Git - gc/commitdiff
mark.c: Replace C++ style comments with C ones in GC_is_marked
authorIvan Maidanski <ivmai@mail.ru>
Sun, 18 Mar 2012 08:59:47 +0000 (12:59 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 18 Mar 2012 08:59:47 +0000 (12:59 +0400)
mark.c

diff --git a/mark.c b/mark.c
index 1bf9f4e4c12544acec5d2603a8d69d74c66e29f9..8786e56838999af7a96c4f5eeabd53dcb03971ff 100644 (file)
--- a/mark.c
+++ b/mark.c
@@ -230,7 +230,7 @@ GC_API int GC_CALL GC_is_marked(const void *p)
     hdr * hhdr = HDR(h);
     word bit_no = MARK_BIT_NO((ptr_t)p - (ptr_t)h, hhdr -> hb_sz);
 
-    return (int)mark_bit_from_hdr(hhdr, bit_no); // 0 or 1
+    return (int)mark_bit_from_hdr(hhdr, bit_no); /* 0 or 1 */
 }
 
 /*