summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-05-15 13:47:14 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-05-15 13:47:14 +0000
commitf1c2137e28e0eabf32d343953693c0626a5077b1 (patch)
treef88fade9546aa76eb59c1280392a59a6324a42ea /mdk-stage1
parent1b50c0bb026604aa69a53ec953ac118bab80bcd7 (diff)
downloaddrakx-backup-do-not-use-f1c2137e28e0eabf32d343953693c0626a5077b1.tar
drakx-backup-do-not-use-f1c2137e28e0eabf32d343953693c0626a5077b1.tar.gz
drakx-backup-do-not-use-f1c2137e28e0eabf32d343953693c0626a5077b1.tar.bz2
drakx-backup-do-not-use-f1c2137e28e0eabf32d343953693c0626a5077b1.tar.xz
drakx-backup-do-not-use-f1c2137e28e0eabf32d343953693c0626a5077b1.zip
configure_net_device is only used internally
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;