changeset: 5334:b249c479f9e1
tag: tip
user: Aidan Kehoe <kehoea(a)parhasard.net>
date: Mon Jan 10 20:00:57 2011 +0000
files: src/ChangeLog src/mc-alloc.c
description:
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;
}
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches