mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-23 06:52:37 +08:00
freebsd/net/radix_mpath.c: Fix prototype/body mismatch
The routines which had bodies not matching the prototype are: - rn_mpath_count - rtalloc_mpath_fib
This commit is contained in:
parent
4c0dbd308a
commit
734ccdaf97
@ -79,7 +79,11 @@ rn_mpath_next(struct radix_node *rn)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __rtems__
|
||||||
|
u_int32_t
|
||||||
|
#else
|
||||||
uint32_t
|
uint32_t
|
||||||
|
#endif
|
||||||
rn_mpath_count(struct radix_node *rn)
|
rn_mpath_count(struct radix_node *rn)
|
||||||
{
|
{
|
||||||
uint32_t i = 0;
|
uint32_t i = 0;
|
||||||
@ -261,7 +265,11 @@ different:
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
#ifdef __rtems__
|
||||||
|
rtalloc_mpath_fib(struct route *ro, u_int32_t hash, u_int fibnum)
|
||||||
|
#else
|
||||||
rtalloc_mpath_fib(struct route *ro, uint32_t hash, u_int fibnum)
|
rtalloc_mpath_fib(struct route *ro, uint32_t hash, u_int fibnum)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
struct radix_node *rn0, *rn;
|
struct radix_node *rn0, *rn;
|
||||||
u_int32_t n;
|
u_int32_t n;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user