avaoid gcc extensions here
authorMatthias Braun <matze@braunis.de>
Sat, 11 Oct 2008 19:04:23 +0000 (19:04 +0000)
committerMatthias Braun <matze@braunis.de>
Sat, 11 Oct 2008 19:04:23 +0000 (19:04 +0000)
[r22711]

include/libfirm/adt/array.h

index 76347ac..94abd85 100644 (file)
@@ -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);