Backport: stop marking bsearch_idx as pure; it is not.
svn:r17394
This commit is contained in:
parent
3e613b2ed7
commit
94ed846ee9
|
@ -1,3 +1,10 @@
|
|||
Changes in version 0.2.0.33 - 200?-??-??
|
||||
o Minor bugfixes:
|
||||
- Do not mark smartlist_bsearch_idx() function as ATTR_PURE. This bug
|
||||
could make gcc generate non-functional binary search code. Bugfix
|
||||
on 0.2.0.10-alpha.
|
||||
|
||||
|
||||
Changes in version 0.2.0.32 - 2008-11-20
|
||||
o Security fixes:
|
||||
- The "User" and "Group" config options did not clear the
|
||||
|
|
|
@ -108,8 +108,7 @@ void *smartlist_bsearch(smartlist_t *sl, const void *key,
|
|||
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),
|
||||
|
|
Loading…
Reference in New Issue