ramips: collect rx related members to fe_rx_ring struct
[openwrt/staging/chunkeey.git] / toolchain / gdb / patches / 110-no_extern_inline.patch
1 --- a/sim/common/sim-arange.c
2 +++ b/sim/common/sim-arange.c
3 @@ -280,11 +280,7 @@ sim_addr_range_delete (ADDR_RANGE *ar, a
4 build_search_tree (ar);
5 }
6
7 -#endif /* DEFINE_NON_INLINE_P */
8 -
9 -#if DEFINE_INLINE_P
10 -
11 -SIM_ARANGE_INLINE int
12 +int
13 sim_addr_range_hit_p (ADDR_RANGE *ar, address_word addr)
14 {
15 ADDR_RANGE_TREE *t = ar->range_tree;
16 @@ -301,4 +297,4 @@ sim_addr_range_hit_p (ADDR_RANGE *ar, ad
17 return 0;
18 }
19
20 -#endif /* DEFINE_INLINE_P */
21 +#endif /* DEFINE_NON_INLINE_P */
22 --- a/sim/common/sim-arange.h
23 +++ b/sim/common/sim-arange.h
24 @@ -62,7 +62,7 @@ extern void sim_addr_range_delete (ADDR_
25
26 /* Return non-zero if ADDR is in range AR, traversing the entire tree.
27 If no range is specified, that is defined to mean "everything". */
28 -extern INLINE int
29 +extern int
30 sim_addr_range_hit_p (ADDR_RANGE * /*ar*/, address_word /*addr*/);
31 #define ADDR_RANGE_HIT_P(ar, addr) \
32 ((ar)->range_tree == NULL || sim_addr_range_hit_p ((ar), (addr)))