Commit 728b12ef authored by Matthias Braun's avatar Matthias Braun
Browse files

avaoid gcc extensions here

[r22711]
parent 4614f179
......@@ -282,7 +282,7 @@ typedef int (ir_arr_cmp_func_t)(const void *a, const void *b);
* @note The differences to bsearch(3) which does not give proper insert locations
* in the case that the element is not conatined in the array.
*/
static inline __attribute__((const, unused)) int
static inline int
ir_arr_bsearch(const void *arr, size_t elm_size, ir_arr_cmp_func_t *cmp, const void *elm)
{
int hi = ARR_LEN(arr);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment