diff options
author | rl1987 <rl1987@sdf.lonestar.org> | 2018-06-22 16:04:08 +0300 |
---|---|---|
committer | rl1987 <rl1987@sdf.lonestar.org> | 2018-07-21 18:38:33 +0300 |
commit | e6c51a056c5be77edeb60d71c1cb36a8680df9af (patch) | |
tree | d082a487d9fe2828b550bfbe92e6d06e208071c9 /src/lib/container/smartlist.h | |
parent | 86549c0d9e636dabe3a0ed9890afe3faf920b7b6 (diff) | |
download | tor-e6c51a056c5be77edeb60d71c1cb36a8680df9af.tar.gz tor-e6c51a056c5be77edeb60d71c1cb36a8680df9af.zip |
Make entry_guards_update_primary() shorter
Diffstat (limited to 'src/lib/container/smartlist.h')
-rw-r--r-- | src/lib/container/smartlist.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/container/smartlist.h b/src/lib/container/smartlist.h index 3b19cbfce4..9705396ac9 100644 --- a/src/lib/container/smartlist.h +++ b/src/lib/container/smartlist.h @@ -37,6 +37,9 @@ int smartlist_overlap(const smartlist_t *sl1, const smartlist_t *sl2); void smartlist_intersect(smartlist_t *sl1, const smartlist_t *sl2); void smartlist_subtract(smartlist_t *sl1, const smartlist_t *sl2); +int smartlist_ptrs_eq(const smartlist_t *s1, + const smartlist_t *s2); + void smartlist_sort(smartlist_t *sl, int (*compare)(const void **a, const void **b)); void *smartlist_get_most_frequent_(const smartlist_t *sl, |