Re: [2.6 patch] net/ipv4/inetpeer.c: make a struct static

From: David S. Miller
Date: Wed Mar 16 2005 - 18:22:58 EST


On Wed, 16 Mar 2005 14:53:43 -0800
"David S. Miller" <davem@xxxxxxxxxxxxx> wrote:

> On Tue, 15 Mar 2005 15:44:08 +0100
> Adrian Bunk <bunk@xxxxxxxxx> wrote:
>
> > This patch makes a needlessly global struct static.
> >
> > Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
>
> You need to also kill the externs in net/inetpeer.h
>
> Please fix this up and resubmit.

Actually, Adrian, net/inetpeer.h makes use of
inet_peer_unused_tailp in inline functions.

How did you get a successful build after marking
it static?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/