From: Hannes Eder Date: Fri, 26 Dec 2008 08:11:21 +0000 (-0800) Subject: drivers/net/wan: fix sparse warning: make symbol static X-Git-Tag: v2.6.29-rc1~581^2~36 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7b3dfa11cdef38bda07b99991f2f88c86df67ed2;p=linux-2.6-omap-h63xx.git drivers/net/wan: fix sparse warning: make symbol static Fix this sparse warning: drivers/net/wan/x25_asy.c:623:5: warning: symbol 'x25_asy_esc' was not declared. Should it be static? Signed-off-by: Hannes Eder Signed-off-by: David S. Miller --- diff --git a/drivers/net/wan/x25_asy.c b/drivers/net/wan/x25_asy.c index 472bd0e6dd9..e6e2ce3e7bc 100644 --- a/drivers/net/wan/x25_asy.c +++ b/drivers/net/wan/x25_asy.c @@ -620,7 +620,7 @@ static struct net_device_stats *x25_asy_get_stats(struct net_device *dev) * STANDARD X.25 ENCAPSULATION * ************************************************************************/ -int x25_asy_esc(unsigned char *s, unsigned char *d, int len) +static int x25_asy_esc(unsigned char *s, unsigned char *d, int len) { unsigned char *ptr = d; unsigned char c;