diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-18 21:42:41 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-18 21:42:41 +0000 |
commit | 02aaec7647607e96532b93083557412daca02285 (patch) | |
tree | 3c43da9ca1d68b69d0d5d596176d1314e8e895ac /cpukit/libnetworking/rtems/rtems_glue.c | |
parent | 73d53444ef643ac91146b85a4a5de017f24fa8dc (diff) |
2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libnetworking/lib/ftpfs.c, libnetworking/libc/inet_ntoa.c,
libnetworking/libc/rcmd.c, libnetworking/nfs/bootp_subr.c,
libnetworking/rtems/rtems_glue.c,
libnetworking/rtems/rtems_malloc_mbuf.c,
libnetworking/rtems/rtems_showicmpstat.c, libnetworking/sys/malloc.h:
Fix some warnings.
Diffstat (limited to 'cpukit/libnetworking/rtems/rtems_glue.c')
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_glue.c | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_glue.c b/cpukit/libnetworking/rtems/rtems_glue.c index 52db0e0f49..1508412940 100644 --- a/cpukit/libnetworking/rtems/rtems_glue.c +++ b/cpukit/libnetworking/rtems/rtems_glue.c @@ -138,6 +138,12 @@ rtems_bsdnet_free (void *addr, int type) } /* + * Externs for BSD data we have to access during initialization + */ +extern struct domain routedomain; +extern struct domain inetdomain; + +/* * Do the initializations required by the BSD code */ static int @@ -192,8 +198,6 @@ bsd_init (void) * Set up domains */ { - extern struct domain routedomain; - extern struct domain inetdomain; routedomain.dom_next = domains; domains = &routedomain; @@ -215,15 +219,19 @@ bsd_init (void) } /* + * RTEMS Specific Helper Routines + */ +extern void rtems_set_udp_buffer_sizes( u_long, u_long ); +extern void rtems_set_tcp_buffer_sizes( u_long, u_long ); +extern void rtems_set_sb_efficiency( u_long ); + +/* * Initialize and start network operations */ static int rtems_bsdnet_initialize (void) { rtems_status_code sc; - extern void rtems_set_udp_buffer_sizes( u_long, u_long ); - extern void rtems_set_tcp_buffer_sizes( u_long, u_long ); - extern void rtems_set_sb_efficiency( u_long ); /* * Set the priority of all network tasks |