Mailing List Archive

[PATCH]: fix compile warnings in ../include/net/ip_vs.h
Hi Wensong,

This little patchlet fixes obvious compile warnings if the lblc and
the lblcr scheduler are marked ``static'' in the .config.
Consider applying it unless you really don't want them to be static
in the kernel but then you have to modify the tristate variable in
../net/ipv4/Config.in

--- linux-2.2.18.vanilla/include/net/ip_vs.h Fri Jan 26 22:28:59 2001
+++ linux-2.2.18/include/net/ip_vs.h Sun Jan 28 10:10:28 2001
@@ -215,6 +218,8 @@
extern int ip_vs_wrr_init(void);
extern int ip_vs_lc_init(void);
extern int ip_vs_wlc_init(void);
+extern int ip_vs_lblc_init(void);
+extern int ip_vs_lblcr_init(void);


/*


Regards,
Roberto Nibali, ratz

--
mailto: `echo NrOatSz@tPacA.cMh | sed 's/[NOSPAM]//g'`
Re: [PATCH]: fix compile warnings in ../include/net/ip_vs.h [ In reply to ]
Hi Wensong,

[.Sorry if this mail shows up twice in your mailbox, but we are
currently changing our whole intranet infrastructure and mail
setup is always a bitch to migrate]

This little patchlet fixes obvious compile warnings if the lblc and
the lblcr scheduler are marked ``static'' in the .config.
Consider applying it unless you really don't want them to be static
in the kernel but then you have to modify the tristate variable in
../net/ipv4/Config.in

--- linux-2.2.18.vanilla/include/net/ip_vs.h Fri Jan 26 22:28:59 2001
+++ linux-2.2.18/include/net/ip_vs.h Sun Jan 28 10:10:28 2001
@@ -215,6 +218,8 @@
extern int ip_vs_wrr_init(void);
extern int ip_vs_lc_init(void);
extern int ip_vs_wlc_init(void);
+extern int ip_vs_lblc_init(void);
+extern int ip_vs_lblcr_init(void);


/*

Regards,
Roberto Nibali, ratz

--
mailto: `echo NrOatSz@tPacA.cMh | sed 's/[NOSPAM]//g'`
Re: [PATCH]: fix compile warnings in ../include/net/ip_vs.h [ In reply to ]
Hi Ratz,

Thanks for this fix. It is applied.

Wensong


On Mon, 29 Jan 2001, ratz wrote:

> Hi Wensong,
>
> This little patchlet fixes obvious compile warnings if the lblc and
> the lblcr scheduler are marked ``static'' in the .config.
> Consider applying it unless you really don't want them to be static
> in the kernel but then you have to modify the tristate variable in
> ../net/ipv4/Config.in
>
> --- linux-2.2.18.vanilla/include/net/ip_vs.h Fri Jan 26 22:28:59 2001
> +++ linux-2.2.18/include/net/ip_vs.h Sun Jan 28 10:10:28 2001
> @@ -215,6 +218,8 @@
> extern int ip_vs_wrr_init(void);
> extern int ip_vs_lc_init(void);
> extern int ip_vs_wlc_init(void);
> +extern int ip_vs_lblc_init(void);
> +extern int ip_vs_lblcr_init(void);
>
>
> /*
>
>
> Regards,
> Roberto Nibali, ratz
>
> --
> mailto: `echo NrOatSz@tPacA.cMh | sed 's/[NOSPAM]//g'`
>