diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-08 05:09:04 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-08 05:09:04 +0000 |
commit | 5605990592e663fa5a0c572f2e1441d2731892a2 (patch) | |
tree | a87c1bb6cb465aaa9792630b6e71b1f57105345d /cpukit | |
parent | 2011-12-07 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-5605990592e663fa5a0c572f2e1441d2731892a2.tar.bz2 |
2011-12-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/rtems_dhcp.c:
Make format_ip, dhcp_init static.
* libnetworking/nfs/bootp_subr.c:
Make bootp_strdup_realloc static.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/libnetworking/nfs/bootp_subr.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_dhcp.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libnetworking/nfs/bootp_subr.c b/cpukit/libnetworking/nfs/bootp_subr.c index e976227d4d..4021bc6b9d 100644 --- a/cpukit/libnetworking/nfs/bootp_subr.c +++ b/cpukit/libnetworking/nfs/bootp_subr.c @@ -271,7 +271,7 @@ bootpboot_p_iflist(void) * - allocate or reallocate dst, so that string fits in * - copy string from src to dest */ -void *bootp_strdup_realloc(char *dst,const char *src) +static void *bootp_strdup_realloc(char *dst,const char *src) { size_t len; diff --git a/cpukit/libnetworking/rtems/rtems_dhcp.c b/cpukit/libnetworking/rtems/rtems_dhcp.c index 0ee250b603..e01846e72e 100644 --- a/cpukit/libnetworking/rtems/rtems_dhcp.c +++ b/cpukit/libnetworking/rtems/rtems_dhcp.c @@ -209,7 +209,7 @@ static const char dhcp_request_parameters[5] = { DHCP_SUBNET, /* * Format an IP address in dotted decimal. */ -void +static void format_ip (unsigned long ip, char* buffer) { sprintf (buffer, @@ -842,7 +842,7 @@ dhcp_interface_has_ip (struct ifreq *ireq, struct socket *so, struct proc *procp * 0: ok * < 0: failed to startup or configure interface */ -int +static int dhcp_init (int update_files) { struct dhcp_packet call; |