From 432169003898362feb8de468f691065a6b777e92 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 4 Dec 2001 11:15:36 +0000 Subject: fpons is a sucking chief --- mdk-stage1/modules.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mdk-stage1') diff --git a/mdk-stage1/modules.c b/mdk-stage1/modules.c index 9b9303e93..72190819a 100644 --- a/mdk-stage1/modules.c +++ b/mdk-stage1/modules.c @@ -241,9 +241,6 @@ static enum insmod_return insmod_with_deps(const char * mod_name, char * options enum insmod_return my_insmod(const char * mod_name, enum driver_type type, char * options) { -#ifndef DISABLE_NETWORK - char alias[500]; -#endif int i; #ifndef DISABLE_NETWORK char ** net_devices = NULL; /* fucking compiler */ @@ -271,6 +268,7 @@ enum insmod_return my_insmod(const char * mod_name, enum driver_type type, char if (type == NETWORK_DEVICES) { char ** new_net_devices = get_net_devices(); while (new_net_devices && *new_net_devices) { + char alias[500]; char ** ptr = net_devices; while (ptr && *ptr) { if (!strcmp(*new_net_devices, *ptr)) -- cgit v1.2.1