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.
This commit is contained in:
Ralf Corsepius
2011-12-08 05:09:04 +00:00
parent 5b65c95c5e
commit 5605990592
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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;
+2 -2
View File
@@ -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;