projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4614f17
)
avaoid gcc extensions here
author
Matthias Braun
<matze@braunis.de>
Sat, 11 Oct 2008 19:04:23 +0000
(19:04 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sat, 11 Oct 2008 19:04:23 +0000
(19:04 +0000)
[r22711]
include/libfirm/adt/array.h
patch
|
blob
|
history
diff --git
a/include/libfirm/adt/array.h
b/include/libfirm/adt/array.h
index
76347ac
..
94abd85
100644
(file)
--- a/
include/libfirm/adt/array.h
+++ b/
include/libfirm/adt/array.h
@@
-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);