summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/network.c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-02 13:45:26 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-02 13:45:26 +0000
commita77fe688cd9c8c4efb8b9c363a7078e7a563f0bb (patch)
tree1f9a0093f869e3517b4e1aa1669ee62533811d30 /mdk-stage1/network.c
parent360de09d5fd6566f5e67b1ec785a6d938d07b5fb (diff)
downloaddrakx-a77fe688cd9c8c4efb8b9c363a7078e7a563f0bb.tar
drakx-a77fe688cd9c8c4efb8b9c363a7078e7a563f0bb.tar.gz
drakx-a77fe688cd9c8c4efb8b9c363a7078e7a563f0bb.tar.bz2
drakx-a77fe688cd9c8c4efb8b9c363a7078e7a563f0bb.tar.xz
drakx-a77fe688cd9c8c4efb8b9c363a7078e7a563f0bb.zip
compile less things when MANDRAKE_MOVE is defined
(needed so that future commits can restrict define's in config-stage1.h)
Diffstat (limited to 'mdk-stage1/network.c')
-rw-r--r--mdk-stage1/network.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index b8c77dccf..f17b7c438 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -619,7 +619,7 @@ static char * interface_select(void)
return choice;
}
-
+#ifndef MANDRAKE_MOVE
static enum return_type get_http_proxy(char **http_proxy_host, char **http_proxy_port)
{
char *questions[] = { "HTTP proxy host", "HTTP proxy port", NULL };
@@ -806,7 +806,7 @@ static int choose_mirror_from_list(char *http_proxy_host, char *http_proxy_port,
return results;
}
-
+#endif
/* -=-=-- */
@@ -889,6 +889,7 @@ enum return_type nfs_prepare(void)
}
+#ifndef MANDRAKE_MOVE
enum return_type ftp_prepare(void)
{
char * questions[] = { "FTP server", DISTRIB_NAME " directory", "Login", "Password", NULL };
@@ -1113,3 +1114,4 @@ enum return_type http_prepare(void)
return RETURN_OK;
}
+#endif