mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
the non-controversial changes i found in my sandbox
svn:r10729
This commit is contained in:
+3
-3
@@ -71,7 +71,7 @@ networkstatus_get_voter_by_id(networkstatus_vote_t *vote,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/** Helper for sorting a list of time_t* */
|
||||
/** Helper for sorting a list of time_t*. */
|
||||
static int
|
||||
_compare_times(const void **_a, const void **_b)
|
||||
{
|
||||
@@ -84,7 +84,7 @@ _compare_times(const void **_a, const void **_b)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/** Helper for sorting a list of int* */
|
||||
/** Helper for sorting a list of int*. */
|
||||
static int
|
||||
_compare_ints(const void **_a, const void **_b)
|
||||
{
|
||||
@@ -164,7 +164,7 @@ get_frequent_members(smartlist_t *out, smartlist_t *in, int min)
|
||||
}
|
||||
|
||||
/** Given a sorted list of strings <b>lst</b>, return the member that appears
|
||||
* most. Break ties in favor of later-occuring members. */
|
||||
* most. Break ties in favor of later-occurring members. */
|
||||
static const char *
|
||||
get_most_frequent_member(smartlist_t *lst)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user