summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/network.c2
-rw-r--r--mdk-stage1/network.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index dff02064a..7949059aa 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -51,7 +51,7 @@ static void error_message_net(void) /* reduce code size */
}
-int configure_net_device(struct interface_info * intf)
+static int configure_net_device(struct interface_info * intf)
{
struct ifreq req;
struct rtentry route;
diff --git a/mdk-stage1/network.h b/mdk-stage1/network.h
index b832ea906..aa5b9d38d 100644
--- a/mdk-stage1/network.h
+++ b/mdk-stage1/network.h
@@ -46,7 +46,6 @@ struct interface_info {
/* these are to be used only by dhcp.c */
char * guess_netmask(char * ip_addr);
-int configure_net_device(struct interface_info * intf);
extern char * hostname;
extern char * domain;