summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-12-14 12:01:47 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-12-18 11:22:17 +0100
commit1edaa5fe7b2440f614dc5269f31394360d1a661e (patch)
tree995931aa32279262c0747225cf76c55f347ba353
parentea4f072ef323fac64abeabc675e07c97b66b695b (diff)
downloadrtems-1edaa5fe7b2440f614dc5269f31394360d1a661e.tar.bz2
libnetworking: Make functions public
Make functions rtems_bsdnet_semaphore_obtain_recursive() and rtems_bsdnet_semaphore_release_recursive() public.
-rw-r--r--cpukit/libnetworking/rtems/rtems_bsdnet_internal.h2
-rw-r--r--cpukit/libnetworking/rtems/rtems_glue.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
index b477d7d654..05e54b272f 100644
--- a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
+++ b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
@@ -136,6 +136,8 @@ void rtems_bsdnet_free (void *addr, int type);
void rtems_bsdnet_semaphore_obtain (void);
void rtems_bsdnet_semaphore_release (void);
+void rtems_bsdnet_semaphore_obtain_recursive (uint32_t nest_count);
+uint32_t rtems_bsdnet_semaphore_release_recursive (void);
void rtems_bsdnet_schednetisr (int n);
int rtems_bsdnet_parse_driver_name (const struct rtems_bsdnet_ifconfig *config, char **namep);
diff --git a/cpukit/libnetworking/rtems/rtems_glue.c b/cpukit/libnetworking/rtems/rtems_glue.c
index 8380e4d410..95cabe4d27 100644
--- a/cpukit/libnetworking/rtems/rtems_glue.c
+++ b/cpukit/libnetworking/rtems/rtems_glue.c
@@ -111,7 +111,7 @@ rtems_bsdnet_initialize_sockaddr_in(struct sockaddr_in *addr)
memcpy(addr, &address_template, sizeof(*addr));
}
-static uint32_t
+uint32_t
rtems_bsdnet_semaphore_release_recursive(void)
{
#ifdef RTEMS_FAST_MUTEX
@@ -128,7 +128,7 @@ rtems_bsdnet_semaphore_release_recursive(void)
#endif
}
-static void
+void
rtems_bsdnet_semaphore_obtain_recursive(uint32_t nest_count)
{
uint32_t i;