diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-11-26 16:57:46 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-11-26 16:57:46 +0000 |
commit | 651a0a2fb5856a0e14e745b33a8d3d97387df862 (patch) | |
tree | fdeff277d75ce5963c76ef7b365c898e69522792 /src/common | |
parent | 4cddcf887362d3a5c8f938694ba413f08ee6311c (diff) | |
download | tor-651a0a2fb5856a0e14e745b33a8d3d97387df862.tar tor-651a0a2fb5856a0e14e745b33a8d3d97387df862.tar.gz |
Stop marking bsearch_idx as pure; it is not.
svn:r17393
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/container.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/container.h b/src/common/container.h index b4ca35828..096d385a2 100644 --- a/src/common/container.h +++ b/src/common/container.h @@ -105,11 +105,10 @@ void smartlist_uniq_strings(smartlist_t *sl); void smartlist_uniq_digests(smartlist_t *sl); void *smartlist_bsearch(smartlist_t *sl, const void *key, int (*compare)(const void *key, const void **member)) - ATTR_PURE; + ATTR_PURE; int smartlist_bsearch_idx(const smartlist_t *sl, const void *key, int (*compare)(const void *key, const void **member), - int *found_out) - ATTR_PURE; + int *found_out); void smartlist_pqueue_add(smartlist_t *sl, int (*compare)(const void *a, const void *b), |