[rtems-libbsd commit] freebsd/net/radix_mpath.c: Fix prototype/
Joel Sherrill
joel at rtems.org
Wed Sep 5 17:52:50 UTC 2012
body mismatch
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Module: rtems-libbsd
Branch: master
Commit: 734ccdaf97a6597e3457c0090bda73b449e333a6
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=734ccdaf97a6597e3457c0090bda73b449e333a6
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Wed Sep 5 12:52:06 2012 -0500
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
---
freebsd/net/radix_mpath.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/freebsd/net/radix_mpath.c b/freebsd/net/radix_mpath.c
index 0c65c15..3c34824 100644
--- a/freebsd/net/radix_mpath.c
+++ b/freebsd/net/radix_mpath.c
@@ -79,7 +79,11 @@ rn_mpath_next(struct radix_node *rn)
return NULL;
}
+#ifdef __rtems__
+u_int32_t
+#else
uint32_t
+#endif
rn_mpath_count(struct radix_node *rn)
{
uint32_t i = 0;
@@ -261,7 +265,11 @@ different:
}
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)
+#endif
{
struct radix_node *rn0, *rn;
u_int32_t n;
More information about the vc
mailing list