|
@@ -120,7 +120,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),
|