From 651a0a2fb5856a0e14e745b33a8d3d97387df862 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 26 Nov 2008 16:57:46 +0000 Subject: Stop marking bsearch_idx as pure; it is not. svn:r17393 --- src/common/container.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/common/container.h') diff --git a/src/common/container.h b/src/common/container.h index b4ca358289..096d385a22 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), -- cgit v1.2.3-54-g00ecf