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/libnetworking/rtems/rtems_dhcp.c | |
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 '')
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_dhcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |