From 8d5fca6447e84f0543052ed1c51b6d4a1fda2d81 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 12 Jun 2008 13:10:12 +0000 Subject: do not define unused functions in network standalone mode --- mdk-stage1/modules.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mdk-stage1/modules.c') diff --git a/mdk-stage1/modules.c b/mdk-stage1/modules.c index 18642cdb9..53bc87d4c 100644 --- a/mdk-stage1/modules.c +++ b/mdk-stage1/modules.c @@ -296,6 +296,7 @@ int module_already_present(const char * name) } +#ifndef ENABLE_NETWORK_STANDALONE static enum insmod_return insmod_with_deps(const char * mod_name, char * options, int allow_modules_floppy) { struct module_deps_elem * dep; @@ -330,6 +331,7 @@ static enum insmod_return insmod_with_deps(const char * mod_name, char * options return insmod_local_file((char *) filename, options); } } +#endif #ifndef DISABLE_NETWORK -- cgit v1.2.1