From e79e0942edb54246fecfe242647df8170c308f13 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Mon, 12 Jun 2006 17:43:59 +0000 Subject: Make the boot flags variable global. We don't need to pass it (or a pointer to it) all over the place. --- loader2/net.h | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'loader2/net.h') diff --git a/loader2/net.h b/loader2/net.h index fbe3b3578..5874fca8d 100644 --- a/loader2/net.h +++ b/loader2/net.h @@ -29,26 +29,23 @@ struct networkDeviceConfig { }; int readNetConfig(char * device, struct networkDeviceConfig * dev, - char * dhcpclass, int flags); + char * dhcpclass); int configureNetwork(struct networkDeviceConfig * dev); int writeNetInfo(const char * fn, struct networkDeviceConfig * dev); -int findHostAndDomain(struct networkDeviceConfig * dev, int flags); +int findHostAndDomain(struct networkDeviceConfig * dev); int writeResolvConf(struct networkDeviceConfig * net); extern char *netServerPrompt; int nfsGetSetup(char ** hostptr, char ** dirptr); void initLoopback(void); -int chooseNetworkInterface(struct loaderData_s * loaderData, - int flags); +int chooseNetworkInterface(struct loaderData_s * loaderData); void setupNetworkDeviceConfig(struct networkDeviceConfig * cfg, - struct loaderData_s * loaderData, - int flags); + struct loaderData_s * loaderData); void setKickstartNetwork(struct loaderData_s * loaderData, int argc, - char ** argv, int * flagsPtr); + char ** argv); int kickstartNetworkUp(struct loaderData_s * loaderData, - struct networkDeviceConfig *netCfgPtr, - int flags); + struct networkDeviceConfig *netCfgPtr); char * setupInterface(struct networkDeviceConfig *dev); char *doDhcp(struct networkDeviceConfig *dev); -- cgit