summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/libnetworking/nfs/bootp_subr.c2
-rw-r--r--cpukit/libnetworking/rtems/rtems_dhcp.c4
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;