APPROVE COMMIT
NOTE: This patch has been committed.
# HG changeset patch
# User Aidan Kehoe <kehoea(a)parhasard.net>
# Date 1294689657 0
# Node ID b249c479f9e1d0b94f449074793e12411720aed2
# Parent aa2705c83c24fe75d272acb541949dfba4d0666b
Replace some C++ comments with C89-style /* */ comments, mc-alloc.c
2011-01-10 Aidan Kehoe <kehoea(a)parhasard.net>
* mc-alloc.c (get_used_list_index):
Replace some C++ comments with C-style /* comments.
diff -r aa2705c83c24 -r b249c479f9e1 src/ChangeLog
--- a/src/ChangeLog Mon Jan 10 17:55:06 2011 +0000
+++ b/src/ChangeLog Mon Jan 10 20:00:57 2011 +0000
@@ -1,3 +1,8 @@
+2011-01-10 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * mc-alloc.c (get_used_list_index):
+ Replace some C++ comments with C-style /* comments.
+
2011-01-02 Aidan Kehoe <kehoea(a)parhasard.net>
* fns.c (FdeleteX, FremoveX, Fnsubstitute, Fsubstitute, syms_of_fns):
diff -r aa2705c83c24 -r b249c479f9e1 src/mc-alloc.c
--- a/src/mc-alloc.c Mon Jan 10 17:55:06 2011 +0000
+++ b/src/mc-alloc.c Mon Jan 10 20:00:57 2011 +0000
@@ -1148,18 +1148,18 @@
{
if (size <= USED_LIST_MIN_OBJECT_SIZE)
{
- // printf ("size %d -> index %d\n", size, 0);
+ /* printf ("size %d -> index %d\n", size, 0); */
return 0;
}
if (size <= (size_t) USED_LIST_UPPER_THRESHOLD)
{
- // printf ("size %d -> index %d\n", size,
- // ((size - USED_LIST_MIN_OBJECT_SIZE - 1)
- // / USED_LIST_LIN_STEP) + 1);
+ /* printf ("size %d -> index %d\n", size, */
+ /* ((size - USED_LIST_MIN_OBJECT_SIZE - 1) */
+ /* / USED_LIST_LIN_STEP) + 1); */
return ((size - USED_LIST_MIN_OBJECT_SIZE - 1)
/ USED_LIST_LIN_STEP) + 1;
}
- // printf ("size %d -> index %d\n", size, N_USED_PAGE_LISTS - 1);
+ /* printf ("size %d -> index %d\n", size, N_USED_PAGE_LISTS - 1); */
return N_USED_PAGE_LISTS - 1;
}
--
“Apart from the nine-banded armadillo, man is the only natural host of
Mycobacterium leprae, although it can be grown in the footpads of mice.”
-- Kumar & Clark, Clinical Medicine, summarising improbable leprosy research
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches