[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] whitespace fixes
Update of /home/or/cvsroot/tor/src/common
In directory moria:/tmp/cvs-serv20602
Modified Files:
container.c
Log Message:
whitespace fixes
Index: container.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/container.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -p -d -r1.55 -r1.56
--- container.c 14 Dec 2005 21:10:06 -0000 1.55
+++ container.c 31 Dec 2005 06:26:10 -0000 1.56
@@ -228,6 +228,7 @@ smartlist_del(smartlist_t *sl, int idx)
tor_assert(idx < sl->num_used);
sl->list[idx] = sl->list[--sl->num_used];
}
+
/** Remove the <b>idx</b>th element of sl; if idx is not the last element,
* moving all subsequent elements back one space. Return the old value
* of the <b>idx</b>th element.
@@ -242,6 +243,7 @@ smartlist_del_keeporder(smartlist_t *sl,
if (idx < sl->num_used)
memmove(sl->list+idx, sl->list+idx+1, sizeof(void*)*(sl->num_used-idx));
}
+
/** Insert the value <b>val</b> as the new <b>idx</b>th element of
* <b>sl</b>, moving all items previously at <b>idx</b> or later
* forward one space.