aboutsummaryrefslogtreecommitdiff
path: root/src/lib/container/smartlist.h
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2018-08-29 17:10:06 +0000
committerMike Perry <mikeperry-git@torproject.org>2018-08-29 17:10:06 +0000
commit93ff8b411a2ac8eb6c3b58d90e2476d3e0a372ec (patch)
treee4b73afb2983d0125d30d015169dab217c5d1398 /src/lib/container/smartlist.h
parent810152b20f6d773172e1f28ab72a1d4b2fda2d82 (diff)
parentce894e20b597d2d21b56ac8a8f13d1ea4063731d (diff)
downloadtor-93ff8b411a2ac8eb6c3b58d90e2476d3e0a372ec.tar.gz
tor-93ff8b411a2ac8eb6c3b58d90e2476d3e0a372ec.zip
Merge branch 'ticket25573-034' into ticket25573-master
Diffstat (limited to 'src/lib/container/smartlist.h')
-rw-r--r--src/lib/container/smartlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/container/smartlist.h b/src/lib/container/smartlist.h
index 9705396ac9..0f5af3a923 100644
--- a/src/lib/container/smartlist.h
+++ b/src/lib/container/smartlist.h
@@ -64,7 +64,7 @@ const uint8_t *smartlist_get_most_frequent_digest256(smartlist_t *sl);
void smartlist_uniq_strings(smartlist_t *sl);
void smartlist_uniq_digests(smartlist_t *sl);
void smartlist_uniq_digests256(smartlist_t *sl);
-void *smartlist_bsearch(smartlist_t *sl, const void *key,
+void *smartlist_bsearch(const smartlist_t *sl, const void *key,
int (*compare)(const void *key, const void **member));
int smartlist_bsearch_idx(const smartlist_t *sl, const void *key,
int (*compare)(const void *key, const void **member),